System/Libraries/Html/Renderer: Handle 'small' HTML tag

This commit is contained in:
Alec Murphy 2025-05-03 02:57:06 -04:00
parent 6d7ffc3103
commit 21ad3fabfb

View file

@ -1694,6 +1694,10 @@ U0 @handle_tag_specific_functions(@html_dom_node* node, HtmlRenderer* renderer)
} }
} }
if (!StrICmp(node->tagName, "small")) {
node->fontSize = ToI64(0.83 * node->fontSize);
}
if (!StrICmp(node->tagName, "strike")) { if (!StrICmp(node->tagName, "strike")) {
node->linethroughColor = node->color; node->linethroughColor = node->color;
} }