Update odf.php
This commit is contained in:
parent
e1c56650eb
commit
46a8b5d9cb
@ -168,7 +168,7 @@ class Odf
|
||||
$value = html_entity_decode($value, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401);
|
||||
|
||||
// fix breaklines.
|
||||
$value = preg_replace('/<[ ]*br[ ]*\/?>/', "<br />", $value);
|
||||
$value = preg_replace('/<br\s*\/?>/', "<br />", $value);
|
||||
$convertedValue = $value;
|
||||
|
||||
// Check if the value includes html tags
|
||||
|
||||
Loading…
Reference in New Issue
Block a user