Skip to content

Commit

Permalink
In SUBSCRIPTP (src/wxMathML.lisp), correct test for presence of wxxml…
Browse files Browse the repository at this point in the history
…_subscripted in Maxima symbol properties.

Fixes bug report #1807: "The display of subscipts has been backsliding for long"
and bug report #1584: "Underscores not converted to subscripts"
  • Loading branch information
robert-dodier committed Aug 31, 2024
1 parent 2c751e8 commit a22f5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wxMathML.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Submit bug reports by following the 'New issue' link on that page."))
($get sub-symb '$wxxml_subscript)
)
(ignore-errors (not
(member '$WXXML_SUBSCRIPTED (cadr (properties x))))))))
(member '$WXXML_SUBSCRIPTED (cdr (properties x))))))))
(format nil "<munder altCopy=\"~A\"><mrow>~a</mrow><mrow>~a</mrow></munder>"
(wxxml-alt-copy-text x)
(format nil "<mi>~a</mi>" (wxxml-fix-string (format nil "~A" sub-var)))
Expand Down

0 comments on commit a22f5a3

Please sign in to comment.