fix: hyperlinks work properly inside important divs

This commit is contained in:
End 2025-12-19 10:27:05 -07:00
parent 6f2c7bbad5
commit 3bd143ef22
No known key found for this signature in database

View file

@ -164,7 +164,7 @@
NOTE: "📝",
WARNING: "⚠️",
};
return `<div class="alert alert-${type.toLowerCase()}"><strong>${icons[type]} ${type}</strong><br>${cleanContent}</div>\n`;
return `<div class="alert alert-${type.toLowerCase()}"><strong>${icons[type]} ${type}</strong><br>${marked.parse(cleanContent)}</div>\n`;
},
);