| Fuzzing seed corpus: Add an admonition input sample. | 1 个月前 |
| Update links to https | 1 个月前 |
| Improve coverage testing of UTF-8 routines. | 2 年前 |
| Match cmark version of normalize.py | 1 个月前 |
| Make the tests more like the current cmark versions (#373) | 4 天前 |
| Make the tests more like the current cmark versions (#373) | 4 天前 |
| md_html: Escape raw HTML in image alt attribute The image label is rendered into the alt="..." attribute opened by render_open_img_span(). enter_span_callback() already suppresses nested span tags while inside an image, but text_callback() still emitted MD_TEXT_HTML verbatim, so a raw HTML span in the label broke out of the attribute. For example  rendered as <img src="/url" alt="<x title=" y" onerror="alert(1)">"> where onerror becomes a live attribute on the generated img element. Route MD_TEXT_HTML through render_html_escaped() when image_nesting_level is greater than zero, matching the documented intent that only plain text falls into alt (and cmark-gfm, which escapes raw HTML in the same context). Behaviour outside image labels is unchanged. | 4 天前 |
| Make the tests more like the current cmark versions (#373) | 4 天前 |
| Implement github-style admonitions extension. (#316) Syntax example: ``` > [!IMPORTANT] > Hey, this is important note. Do not miss it. ``` More info here: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts | 1 个月前 |
| Footnotes: A footnote text may be split into multiple lines. This brings the behavior closer to GFM. Also as a side effect fixes #340. | 1 个月前 |
| Rename many files in test dir for better organization. | 2 年前 |
| Add highlight span extension (#357) | 1 个月前 |
| Simplify and fix handling of newline in code span. Fixes #223 properly (one corner case has been unnoticed/hidden due test suite normalization feature). Fixes #230 (strictly speaking duplicate of the corner case). | 2 年前 |
| spec-permissive-autolinks.txt: Remove e-mail address on the domain gmail.com, use rather consisentently example.com to avoid potential issues if the original address really exist. | 2 个月前 |
| Add tests for inline spans inside spoiler (emphasis, links, images) Co-authored-by: Cursor <cursoragent@cursor.com> | 1 个月前 |
| Rename many files in test dir for better organization. | 2 年前 |
| Add examples for tilde behavior in subscript spans | 1 个月前 |
| Add examples for caret behavior in superscript spans | 1 个月前 |
| Rename many files in test dir for better organization. | 2 年前 |
| Rename many files in test dir for better organization. | 2 年前 |
| Rename many files in test dir for better organization. | 2 年前 |
| Rename many files in test dir for better organization. | 2 年前 |
| test/spec.txt: Upgrade to spec version 0.31.2. It's essentially same as 0.31 and 0.31.1, it only fixes release date metadata in the spec.txt file. Also fix link in CHANGELOG.md accordingly. | 2 年前 |