| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
After scanning to the end for an unclosed backtick string, the parser overwrote the cached last position of each backtick run length while parsing later code spans. A later opener of the same length then looked like it had no closer and was left as text. Fixes commonmark#458
| Back | FazBrowse Home | New Git URL |
With an unclosed backtick string before two code spans, like `` a `c`, the second code span was rendered as text. Parsing the first span overwrote the cached closer position that was recorded when the unclosed string scanned to the end, so the later opener looked unmatched. The cache is now only updated before that full scan. I added a test in SpecialInputTest, and the commonmark module tests pass. Fixes #458.