forked from Wavyzz/dolibarr
FIX Several pb in invoice remind (html detection, no event, transaction)
This commit is contained in:
@@ -166,6 +166,7 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
|
||||
print __METHOD__."\n";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* testNum2Alpha
|
||||
*
|
||||
@@ -535,6 +536,10 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
|
||||
$input='This is a text with html comments <!-- comment -->'; // we suppose this is not enough to be html content
|
||||
$after=dol_textishtml($input);
|
||||
$this->assertFalse($after);
|
||||
|
||||
$input="A text\nwith a link https://aaa?param=abc&param2=def";
|
||||
$after=dol_textishtml($input);
|
||||
$this->assertFalse($after);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user