mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Maths parsing problem #385
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NaolShow on GitHub (Jul 21, 2020).
Hi everyone, I have a problem with the parsing of the mathematics.
For exemple if I have this in markdown:
The title will be parsed correctly, but I'll also have:
0or2x(In the html source code:
<p>$0$ or $2x$</p>)I'm using a pipeline:
var Pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().UseBootstrap().UseEmojiAndSmiley().UseSoftlineBreakAsHardlineBreak().Build();Do you know what is the problem ?
Thanks a lot ! :)
@xoofx commented on GitHub (Jul 21, 2020):
Looks like a bug but can't recall what would be the cause of the problem. It seems to work fine with spaces around the number (e.g
$ 0 $)Don't have time to investigate issues these days for markdig, so if you feel to investigate this, you are welcome :)
@davidackroyd99 commented on GitHub (Jul 21, 2020):
I will have a look and see if I can raise a pr