master
Commits on Jun 3, 2022
Commits on Apr 5, 2022
-
Replace deprecated String.prototype.substr() (#254)
.substr() is deprecated so we replace it with functions which work similarily but aren't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Commits on Jan 15, 2022
Commits on Jul 17, 2021
-
Fix bug with reference link normalization.
We were only collapsing the first group of consecutive whitespace, not following ones. Reported at <https://talk.commonmark.org/t/link-label-collapse-all-internal-whitespace/3919/6>.
Commits on Jun 20, 2021
Commits on Jun 19, 2021
-
Better fix for cmark #383 regression.
This parallels the new approach in cmark.
-
Revert "Fix counterpart to commonmark/cmark#383."
This reverts commit 10ed0d0.
Commits on Jun 17, 2021
Commits on Jun 15, 2021
Commits on May 11, 2021
-
Require lodash 4.17.21 or later.
lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function. We don't use the template function, but we require the later version anyway.
Commits on Mar 18, 2021
-
Allow user to specify a function to escape the output (#217)
* Correct `esc` function description. The function doesn't take a second parameter. * HtmlRenderer, XmlRenderer: Allow user to specify a custom escape function, as the docs say you can.
newfivefour committedMar 18, 2021
Commits on Mar 2, 2021
-
Fixes an iframe loading timing issue
To quote https://stackoverflow.com/a/36155560/438544: > Using .load() isn't possible if the iframe has already been loaded (event will never fire) Closes commonmark/commonmark-spec-web#15.
Commits on Feb 22, 2021
Commits on Feb 13, 2021
-
Fix documentation for
node.listTypeThe parser produces lowercase strings, but the README said the strings are capitalized.
Commits on Feb 7, 2021
-
Fix handling of type 7 HTML blocks.
They can't interrupt paragraphs (even with laziness). Closes #213.
Commits on Feb 1, 2021
Commits on Jan 20, 2021
-
Only match punctuation at the beginning of the string
This makes the punctuation use match `reUnicodeWhitespaceChar` usage in `scanDelims`. It's effectively a no-op, as `char_after` is expected to only contain a single character anyways.
Commits on Jan 10, 2021
Commits on Dec 12, 2020
-
Recognize '01' as start number 1.
And in general treat it as a number. Closes #207.