Skip to content

Commit

Permalink
Don't add CSS class for mathvariant=normal
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Jan 4, 2024
1 parent e0142e4 commit 8a87fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LaTeXML/Post/MathML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ sub stylizeContent {
$class = ($class ? $class . ' ' : '') . 'ltx_font_oldstyle'; }
elsif ($font =~ /smallcaps/) {
$class = ($class ? $class . ' ' : '') . 'ltx_font_smallcaps'; }
elsif ($variant) { # Any left-over mathvariant? Punt to CSS
elsif ($variant && ($variant ne 'normal')) { # Any left-over mathvariant? Punt to CSS
$class = ($class ? $class . ' ' : '') . 'ltx_mathvariant_' . $variant; }

if ($opacity) {
Expand Down

0 comments on commit 8a87fa9

Please sign in to comment.