Closed AvijeetPrasad closed 2 years ago
Sorry for the inconvenience! However I was unable to reproduce it with the expression you gave. What version of Logseq and the plugin are you using? Can you test it again with the newest version of both? Also, can you try with all the themes disabled?
Hi, Thanks for checking this issue. I am currently on 0.5.9+nightly.20220121
of Logseq and version v1.2.2
of the Doc View Exporter plugin.
I checked again with the default theme but the problem still persists in Safari browser but works fine in Google Chrome.
For a test file with the following content
- The theory of relativity connects mass and energy as follows
- $$e=mc^2$$
I got the following results in Safari and Chrome.
As you can see, the equation is rendered properly in Chrome but not in Safari. So, it could be a browser related issue as well.
I used Safari to test again, still nothing. It was properly rendered. My Safari version is 15.2. Could it be due to some changes in the nightly version? Can you try 0.5.9?
Thanks for checking that. I am also on Safari 15.2. Let me wait till the next Logseq release and then update you back.
When the doc is being exported to HTML, the text for equation is not getting rendered properly.
For example, the text $m_ee^2c$ is being rendered as shown in the attached screenshot. You can see that is first shows the equation in correct form, but then it is followed by the equation text again.