Open searKing opened 6 months ago
Exception is thrown when a softbreak token is after strong token This script:
var md = require('markdown-it')(); var cjk_breaks = require('markdown-it-cjk-breaks'); md.use(cjk_breaks); md.render(` **foo** bar `);
Throws an exception:
TypeError: Expected a code point, got `undefined`.
The empty text is generated by markdown-it when a strong token followed by a softbreak token.
markdown-it
strong
softbreak
Exception is thrown when a softbreak token is after strong token This script:
Throws an exception:
The empty text is generated by
markdown-it
when astrong
token followed by asoftbreak
token.