Skip to content

Commit

Permalink
fix(math): Top-level math element must behave as an (horizontally sta…
Browse files Browse the repository at this point in the history
…cked) mrow

Closes #1293
  • Loading branch information
Omikhleia authored and alerque committed Nov 2, 2024
1 parent 6827eb9 commit 1f1a1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/math/typesetter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function ConvertMathML (_, content)
return nil
end
if content.command == "math" or content.command == "mathml" then -- toplevel
return b.stackbox("V", convertChildren(content))
return b.stackbox("H", convertChildren(content))
elseif content.command == "mrow" then
return b.stackbox("H", convertChildren(content))
elseif content.command == "mphantom" then
Expand Down

0 comments on commit 1f1a1a0

Please sign in to comment.