#14 Fixes issue #12 and other potential bugs due to bogus HTML processing
Merged by quidam. Opened by gioma1.
gioma1/librejs fix/rendering-issues  into  master

Download 14.patch

Issue #12 was apparently caused by HTML documents being serialized back after processing without their DOCTYPE declaration and root element, causing the browser not to render them as intended sometimes.
While fixing this, we noticed that other bugs were waiting to happen due to a problematic Promise resolution pattern in edit_html().
We renamed the function to editHtml() and converted it to idiomatic asynchronous EcmaScript, which made the return values explicit and all the flow much more readable and easy to maintain.

1 new commit added

  • Fixes missing feedback for actions on the report UI when opened in a tab.

rebased onto a8d4d4b9ff1076e0755fa357870845323ae6c4a7

Pull-Request has been merged by quidam

Metadata