Problems using setHTML
See original GitHub issueI’ve been using a script to get texts that have been saved as HTML and save them on Etherpad, the problem is that everything that I try to input for setHTML gets returned as malformed.
Here’s a example from one of the HTML’s that is being rejected
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><base target="_blank" /></head><body><font style="font-family: Verdana;" size="5"><span style="font-weight: bold; text-decoration: underline; font-style: italic; color: rgb(255, 153, 0);">kkk</span></font></body></html>
I also attached a print from the console below
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Element.setHTML() - Web APIs - MDN Web Docs
The setHTML() method of the Element interface is used to parse and sanitize a string of HTML and then insert it into the...
Read more >ResetIsDirty on FCKeditor immediately after SetHTML
I am using IsDirty to check for changes in my FCKeditor. Unfortunately, it seems that its functions are asynchronous. Here is the failing...
Read more >Thread: [SOLVED] QTextDocument setHtml and HTML Tags ...
I build and format the Report using HTML from the "Supported HTML Subset". ... setHtml and HTML Tags/Properties "align=center" problems.
Read more >How to set HTML meta elements with knitr ? - GeeksforGeeks
The metadata means information about data. The <meta> tag in HTML provides information about HTML Document or in simple words, it provides ...
Read more >Using dangerouslySetInnerHTML in a React application
This becomes an issue especially if you are fetching data from a third-party source or rendering content submitted by users. When to use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As it seems to be an issue of the plugin, not the Etherpad, can you close it? Feel free to report the error on the ep_page_view =)
So, I’ve just downgraded ep_page_view to 5.23 and now it works. 👍