0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

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
2025-03-26 19:26:20 -04:00
parent fc8654bff5
commit eac87b65d8
4 changed files with 9 additions and 9 deletions

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"';