Protect note of HTML special char
This commit is contained in:
parent
7133e33e8d
commit
352e170647
1 changed files with 2 additions and 1 deletions
|
|
@ -193,7 +193,8 @@ abstract class XMLInvoice extends \DOMDocument
|
|||
$nb_note=count($a_note);
|
||||
for ($e=0;$e<$nb_note;$e++)
|
||||
{
|
||||
$result['note'].= str_replace(' ','',$a_note[$e]['n_text']);
|
||||
|
||||
$result['note'].= html_entity_decode($a_note[$e]['n_text']);
|
||||
}
|
||||
// goods and services
|
||||
$result['operation']=array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue