Open oblitum opened 10 years ago
The editor converts html entities to the corresponding reserved characters, so when I paste:
<span class="scIncluded"><hello></span>
What I get in the editor is the < and > characters, which makes the html output broken:
<
>
<span class="scIncluded"><hello></span>
This can be fixed by:
text = text.replace(/&/g, "&");
before inserting html from clipboard.
The editor converts html entities to the corresponding reserved characters, so when I paste:
What I get in the editor is the
<
and>
characters, which makes the html output broken: