aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzz.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-10Remove unneeded `extern crate`sLibravatar Hocdoc1-1/+0
Closes GH-28. Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
2022-10-29Fix attention starting and ending in different linksLibravatar Titus Wormer1-0/+6
Example: ```markdown [*]() [*]() ``` There was already code for: ```markdown [*]() x*. *x [*](). ``` But that wasn’t correct for attention at the same depth but in different places. Closes GH-21. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-28Fix GFM autolink literals that end in in GFM table pipesLibravatar Titus Wormer1-0/+6
Closes GH-20. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-26Fix GFM autolink literals after tabsLibravatar Titus Wormer1-0/+24
Closes GH-18. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-26Fix GFM tables interfering with other constructsLibravatar Titus Wormer1-0/+6
Closes GH-19. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-26Fix container close after unclosed fenced code, w/ eolLibravatar Titus Wormer1-0/+12
Closes GH-16 Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-25Fix type of `start` on list in mdastLibravatar Titus Wormer1-3/+11
Closes GH-17. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-25Fix trailing whitespace around broken dataLibravatar Titus Wormer1-0/+18
Closes GH-13. Closes GH-14.
2022-10-14Refactor to use default trait in testsLibravatar Titus Wormer1-14/+2
2022-10-13Rename crate to `markdown`Libravatar Titus Wormer1-8/+6
2022-10-06Refactor to split parse from compile optionsLibravatar Titus Wormer1-4/+11
2022-09-14Fix to prefer flow over definitions, setext headingsLibravatar Titus Wormer1-1/+1
An undocumented part of CommonMark is how to deal with things in definition labels or definition titles (which both can span multiple lines). Can flow (or containers?) interrupt them? They can according to the `cmark` reference parser, so this was implemented here. This adds a new `Content` content type, which houses zero or more definitions, and then zero-or-one paragraphs. Content can be followed by a setext heading underline, which either turns into a setext heading when the content ends in a paragraph, or turns into the start of the following paragraph when it is followed by content that starts with a paragraph, or turns into a stray paragraph.
2022-09-12Fix containers piercing into indented codeLibravatar Titus Wormer1-2/+14
2022-09-12Fix gfm email autolink literals overlappingLibravatar Titus Wormer1-2/+17
2022-09-12Fix blank lines in labelsLibravatar Titus Wormer1-0/+14