(FIX) Command-char Separation:
Solved an issue where commands and subsequent letters were unintentionally amalgamated. This update ensures seamless rendering, preventing scenarios like "\Delta x" merging into "\Deltax" for accurate mathematical notation. #13
(FEAT) Extended UTF-8 Character and Tag Attributes Support:
Expanded UTF-8 character support within the package. Introduced new automatic conversion of characters into their corresponding LaTeX commands. Also add more tag attributes support
e.g. <math><msup><mrow><mi mathvariant="double-struck">R</mi></mrow><mrow><mi>n</mi></mrow></msup></math>
=> \\mathbf{R}^{n}
(instead previous of R^{n}
) #14
(FEAT) Optimized File Bundling and Browser Compatibility:
To support apps outside a package manager, Package is now bundled into a minified file. Available in the attached files #15
(FIX) Replace old xmldom
to updated @xmldom/xmldom
To fix reported security issues in the first one #12
(BC) MathMLToLaTeX is not exported default anymore
Users need to import it using
import { MathMLToLaTeX } from 'mathml-to-latex';
instead of old
import MathMLToLaTeX from 'mathml-to-latex';