Fix fenced code parsing bug #676
Labels
bug
Something isn't working right
fixed
Fix has been implemented
spec compliance
Issues or question about compliance with the CommonMark or GFM specs
This library does not properly parse tilde-fenced code blocks prefixed with 1-3 spaces:
This is caused by a regex that incorrectly attempts to match
~
characters at the start of the line instead of after any leading spaces.(Fenced blocks using backtick (
`
) characters works fine, though.)The text was updated successfully, but these errors were encountered: