assets: XSS filtering improvements
-
put related code in a dedicated file
-
use a XSS filtering hook to fix some image relative src urls included in README HTML rendering (load image bytes from the archive content if available)
-
remove previoulsy introduced hacks in Python code as correct image loading in README HTML rendering is now handled client-side by the feature described above
Related #1641 (closed)
Migrated from D1425 (view on Phabricator)