Fix aria-hidden
This commit is contained in:
parent
b8435c1a1b
commit
58a39c4e4c
@ -67,7 +67,7 @@ const markdownLib = markdownIt({
|
||||
});
|
||||
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user