From: Jonathan McDowell Date: Fri, 22 Sep 2023 18:19:00 +0000 (+0100) Subject: Improve HTML escaping X-Git-Tag: onak-0.6.3~3 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=79425efea806599b611de4e3b25bdc36516e7522;hp=79425efea806599b611de4e3b25bdc36516e7522;p=onak.git Improve HTML escaping 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. ---