Skip to content

Commit

Permalink
Correctly copy superscript when CopyAsMathML. Fixes #1945.
Browse files Browse the repository at this point in the history
  • Loading branch information
daute committed Sep 19, 2024
1 parent 6b72071 commit 9a5a0cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- A Spanish translation update by cyphra.
- Resolved a crash when inverting the worksheet (#1951)
- Do not strip Lisp commnents before sending the input to Maxima (#1953)
- Correctly copy superscript when CopyAsMathML (#1945)

# 24.08.0

Expand Down
2 changes: 1 addition & 1 deletion src/cells/SubSupCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ wxString SubSupCell::ToMathML() const {
else
retval += "<mrow/>";
if (m_postSupCell)
m_postSupCell->ListToMathML();
retval += m_postSupCell->ListToMathML();
else
retval += "<mrow/>";
retval += "</msubsup>\n";
Expand Down

0 comments on commit 9a5a0cb

Please sign in to comment.