about summary refs log tree commit diff stats
path: root/src/local
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-29 20:08:30 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-29 20:20:53 +0100
commitb3cf0be08e9b67361d307e463a907a6b4d35a859 (patch)
treeb2c48e7c70cfcdeab4f9d47b9b2e6c0f6a06f5fe /src/local
parentd2a384f20f5555000c8aa9a711bc88a1c3ce2efe (diff)
downloadchawan-b3cf0be08e9b67361d307e463a907a6b4d35a859.tar.gz
buffer: fix markURL in plaintext
We must HTML escape data, or the fragment parser will parse plain text
as markup. (However, just running htmlEscape() on data is not enough;
that would also mark <, ', etc. as &gt, &apos. So we only escape after
the regex is executed.)
Diffstat (limited to 'src/local')
0 files changed, 0 insertions, 0 deletions