Monorepo for Tangled โ€” https://tangled.org

appview: markdown in comments and pr/issue bodies should escape html special chars instead of interpreting and stripping them away #111

open
opened by gwen.works

when talking about html in a comment, ppl will tend to write

please dont use <div>s everywhere

which will show up as

please dont use s everywhere

doing

please dont use &lt;div&right;s everywhere

works, but it should render as literally that (meaning &lt;div&rt;), not "<div&rt;"

welp, i fucked up my &rt; at the end lol (i wrote &amp;rt; instead of &rt;)

(and to write this comment, i used &amp;amp;rt;... you get the gist)

this has probably something to do with bluemonday's UGCPolicy().Sanitize

sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:dpng6jhpwdz7yifx722rh7w6/sh.tangled.repo.issue/3lppkrsm2lf22