The attribute title of HTML elements cannot render HTML tags. Then, the correct is to use safeHTML rather then htmlEscape.
This way we can use HTML tag on caption (featureImageCap) without rendering escaped HTML (like <cite>) on titlefigure tag attribute.
This PR...
Changes / fixes
-
Screenshots (if applicable)
(prefer animated gif)
Checklist
Ensure you have checked off the following before submitting your PR.
The attribute
title
of HTML elements cannot render HTML tags. Then, the correct is to use safeHTML rather then htmlEscape. This way we can use HTML tag oncaption
(featureImageCap
) without rendering escaped HTML (like<cite>
) ontitle
figure
tag attribute.This PR...
Changes / fixes
-
Screenshots (if applicable)
(prefer animated gif)
Checklist
Ensure you have checked off the following before submitting your PR.