Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v3] spacing inside of maligngroup is incorrect #2295

Closed
dpvc opened this issue Jan 16, 2020 · 0 comments
Closed

[v3] spacing inside of maligngroup is incorrect #2295

dpvc opened this issue Jan 16, 2020 · 0 comments
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Needed v3.0

Comments

@dpvc
Copy link
Member

dpvc commented Jan 16, 2020

The contents of <maligngroup> elements don't get the correct spacing. This is due to the fact that the MmlMaligngroup class is a subclass of AbstractMmlNode rather than AbstractMmlLayoutNode. An example is

<math>
  <mtable>
    <mtr>
      <mtd>
        <maligngroup>
          <mi>x</mi>
          <mo>+</mo>
          <mn>1</mn>
        </maligngroup>
      </mtd>
    </mtr>
  </mtable>
</math>

where the spacing around the plus sign is lost.

@dpvc dpvc added the Accepted Issue has been reproduced by MathJax team label Jan 16, 2020
dpvc added a commit to mathjax/MathJax-src that referenced this issue Jan 30, 2020
Fix problem with spacing inside maligngroup elements.  mathjax/MathJax#2295
@dpvc dpvc added Merged Merged into develop branch and removed Ready for Review labels Jan 30, 2020
@dpvc dpvc added this to the MathJax v3.0.1 milestone Feb 5, 2020
@dpvc dpvc added Fixed v3.0 and removed Merged Merged into develop branch labels Feb 10, 2020
@dpvc dpvc closed this as completed Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Needed v3.0
Projects
None yet
Development

No branches or pull requests

1 participant