Fix aria-hidden markup

This commit is contained in:
Lewis Dale 2024-02-09 09:52:42 +00:00
parent b4b3a019e8
commit b8435c1a1b

View File

@ -67,7 +67,7 @@ const markdownLib = markdownIt({
}); });
markdownLib.renderer.rules.emoji = function(token, idx) { markdownLib.renderer.rules.emoji = function(token, idx) {
return `<span class="fa-li"><i class="fa-solid fa-${token[idx].markup} aria-hidden="true""></i></span>`; return `<span class="fa-li"><i class="fa-solid fa-${token[idx].markup} aria-hidden="true"></i></span>`;
}; };
module.exports = function(eleventyConfig) { module.exports = function(eleventyConfig) {