TOS adds backslash to precede an apostrophe (single quote)
-
Hello
wp members v 2.8.1.
When adding HTML to the TOS an apostrophe (single quote) contained in a <p> tag ends up being preceded by a backslash in the final source of the page.
For example this:
<p>c'est</p>
becomes this:
<p>c\'est</p>
Additionally if I paste this into the TOS dialog box:
<p>"something"</p>
And click save, then view the TOS page the source displays as expected:
<p>"something"</p>
However if I then return to the dialog edit box the code is displayed like this:
<p>"something"</p>
And if I click save and visit the TOS page the source now shows this:
<p>\"something\"</p>
Which doesn’t look good on the rendered page:
\”something\”
Is this a bug in the plugin ?
- The topic ‘TOS adds backslash to precede an apostrophe (single quote)’ is closed to new replies.