]> the.earth.li Git - onak.git/commitdiff
Improve HTML escaping
authorJonathan McDowell <noodles@earth.li>
Fri, 22 Sep 2023 18:19:00 +0000 (19:19 +0100)
committerJonathan McDowell <noodles@earth.li>
Fri, 22 Sep 2023 18:30:16 +0000 (19:30 +0100)
Our existing HTML escaping was very primitive, looking only for a single
< and > around an email address. Extend this to cover multiple instance
of <, >, &, ", ' which should cover all the important bits. Also move to
using a caller provided buffer rather than a static buffer.


No differences found