Closed
Description
Current behavior
It seems version 0.11.15 has wrong alignment for inline math block, for example:
Test
=====
If we try $x = a$, it does not work.
If we let $x = a$, and $y = a$, then $x = y$, none of them align correctly.
If we try $x^{b^b}$, it aligned well.
If we try $x = a^b$, it aligned well, but does not work with $x = a$.
will be shown as:
Expected behavior
Steps to reproduce
- just type in the markdown code block
Test
=====
If we try $x = a$, it does not work.
If we let $x = a$, and $y = a$, then $x = y$, none of them align correctly.
If we try $x^{b^b}$, it aligned well.
If we try $x = a^b$, it aligned well, but does not work with $x = a$.
Environment
- Version : 0.11.15
- OS Version and name : macOS 10.14.3
Brief Investigation
Noting it renders correctly if the math block having superscript like
Further checking in developer mode, found that for the correctly rendered block like
<span class="struct" style="height:0.849108em;"></span>
while for the inappropriately rendered block like
<span class="struct" style="height:0.43056em;"></span>
after change the height:0.43056em
to height:0.849108em
, it seems aligned well
IssueHunt Summary
amedora has been rewarded.
Sponsors (Total: $40.00)
-
boostio ($40.00)
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
Activity