1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 10:47:44 +00:00
serenity/Userland/Libraries/LibMarkdown
Peter Elliott af5a07399e LibMarkdown: Handle delimiter flanking with punctuation
This patch handles the following two rules
1) A delimiter run is either (a) not followed by a Unicode punctuation
   character, or (b) followed by a Unicode punctuation character and
   preceded by Unicode whitespace or a Unicode punctuation character.

2) A _ can be used to open/close a delimiter run if it's (a) not part
   of a left-flanking delimiter run or (b) part of a left-flanking
   delimiter run followed by a Unicode punctuation character.
2021-09-12 12:17:16 +02:00
..
Block.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CodeBlock.cpp LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
CodeBlock.h LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
Document.cpp LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
Document.h LibMarkdown: Add render_to_inline_html() to Document 2021-08-31 16:53:51 +02:00
Heading.cpp LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
Heading.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HorizontalRule.cpp LibMarkdown: Match HTML formatting of Commonmark tests 2021-08-31 16:53:51 +02:00
HorizontalRule.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
List.cpp LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
List.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Paragraph.cpp LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
Paragraph.h LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
Table.cpp LibMarkdown: Rewrite Inline text parser to be more forgiving 2021-09-12 12:17:16 +02:00
Table.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Text.cpp LibMarkdown: Handle delimiter flanking with punctuation 2021-09-12 12:17:16 +02:00
Text.h LibMarkdown: Handle delimiter flanking with punctuation 2021-09-12 12:17:16 +02:00