Protect note of HTML special char

This commit is contained in:
sparkyx 2025-12-18 09:34:35 +01:00
parent 7133e33e8d
commit 352e170647

View file

@ -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('&nbsp;','',$a_note[$e]['n_text']);
$result['note'].= html_entity_decode($a_note[$e]['n_text']);
}
// goods and services
$result['operation']=array();