Hello,
I would like to know if it's possible to keep special characters when we serialize the DOM?
Example:
source used to send in JSDOM
<p>être</p>there is the result when I serialized the DOM the keep back the code.
<p>être</p>All HTML special characters have been converted to "humain readable" characters.
More specificly, I would like to keep special characters code with number instead of name.
Example: I don't care that
ê be converted but I want to keep
ê (its numbered equivalent).
Is it possible?? If yes, how??The reason is that I use JSDOM to manipulate the HTML code and some special characters MUST be coded instead of being humain readable.
Thanks!!!
..jc