If a post body contains an unclosed HTML tag, it will be automatically closed it at the end of window.isoData and then all Javascript functionality disappears.
Bug breaking all Javascript functions when loading a post
https://github.com/LemmyNet/lemmy-ui/issues/1192
2 Comments
kakes@sh.itjust.works · 1 pts · 3y
That's a bit concerning, isn't it? I would think the fact that HTML in the post body is being parsed at all hints at the possibility of an injection attack.
Threen@aussie.zone · 1 pts · 3y
Yeah, very concerning!
I think it is related to this change, so maybe the sanitize is causing the issue here.