Update tests and custom link renderer

v15 changes where html gets escaped and escapes plain text more consistently. Needed to update tests to match.
This commit is contained in:
Trevor Buckner committed 2025-03-26 19:26:20 -04:00
1 parent fc8654bff5
commit eac87b65d8
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ renderer.link = function (token) {
}
let out = `<a href="${escape(href)}"`;
if(title) {
out += ` title="${title}"`;
out += ` title="${escape(title)}"`;
}
if(self) {
out += ' target="_self"';