Closed
Description
Hello,
When adding simple text like
Test
of
multilines
in a ticket solution,
Then will get
Test
rn
of
rn
multilines
And when doing some spying on the HTTP traffic, one can see that tinyMCE is sending:
<p>Test</p>\r\n<p>of</p>\r\n<p>multilines</p>
And GLPI will transform this into
<p>Test</p>rn<p>of</p>rn<p>multilines</p>
due to Toolbox::stripslashes_deep()
that uses stripslashes() which will delete any \
, and left only the "rn" string.
Use of stripcslashes() will solve this issue,
thank you,
regards,
Tomolimo