More test
This commit is contained in:
parent
0de65b7822
commit
b210360220
@ -465,6 +465,10 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
|
|||||||
$after=dol_string_nohtmltag($text,1);
|
$after=dol_string_nohtmltag($text,1);
|
||||||
$this->assertEquals("DEF",$after,"test7");
|
$this->assertEquals("DEF",$after,"test7");
|
||||||
|
|
||||||
|
$text='<a href="/myurl" title="<u>A title</u>">HIJ</a>';
|
||||||
|
$after=dol_string_nohtmltag($text,0);
|
||||||
|
$this->assertEquals("HIJ",$after,"test8");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user