BUG: Some web pages don't render
monneyboi opened this issue · comments
Some HTML documents uploaded to Aleph don't render in the GUI. Not all sites seem to be affected by this. A couple examples:
To Reproduce
Steps to reproduce the behavior:
- Safe any article from one of the examples
- Upload the HTML file in Aleph
- Open the HTML file in Aleph
- See nothing
Expected behavior
I expect to see a safe render of the HTML document.
Aleph version
This happens in the OCCRP Aleph instance as well in ours. Aleph on our end is 3.15.1
Additional context
The problem seems to be caused by the safeHtml
property containing broken html content. The bodyHtml
property contains the original document.
The PR for this issue has been waiting to be accepted for quite some time now, if that gets merged this bug can be closed.