diff --git a/NEWS.md b/NEWS.md index baa7a5167..402440cd9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/src/cells/SubSupCell.cpp b/src/cells/SubSupCell.cpp index 67ba01ab9..e218edc37 100644 --- a/src/cells/SubSupCell.cpp +++ b/src/cells/SubSupCell.cpp @@ -294,7 +294,7 @@ wxString SubSupCell::ToMathML() const { else retval += ""; if (m_postSupCell) - m_postSupCell->ListToMathML(); + retval += m_postSupCell->ListToMathML(); else retval += ""; retval += "\n";