ladybird/Userland/Libraries/LibMarkdown
Peter Elliott dee84113ab LibMarkdown: Match HTML formatting of Commonmark tests
This patch changes the HTML formatting (where to put newlines, etc...)
to better match commonmark's test cases. This has minimal effect of the
correctness of our markdown implementation, but makes it easier to test.

Changes:
 - Use <em> instead of <i>.
 - Newline before end of code block.
 - <hr /> instead of <hr>.
 - Newline before first list item.
 - Newline between lines of a paragraph.
 - Trim whitespace on lines of paragraphs.

 Tests passed: 33/652 -> 87/652
2021-08-31 16:53:51 +02:00
..
Block.h
CMakeLists.txt
CodeBlock.cpp LibMarkdown: Match HTML formatting of Commonmark tests 2021-08-31 16:53:51 +02:00
CodeBlock.h
Document.cpp
Document.h
Heading.cpp
Heading.h
HorizontalRule.cpp LibMarkdown: Match HTML formatting of Commonmark tests 2021-08-31 16:53:51 +02:00
HorizontalRule.h
List.cpp LibMarkdown: Match HTML formatting of Commonmark tests 2021-08-31 16:53:51 +02:00
List.h
Paragraph.cpp LibMarkdown: Match HTML formatting of Commonmark tests 2021-08-31 16:53:51 +02:00
Paragraph.h
Table.cpp
Table.h
Text.cpp LibMarkdown: Match HTML formatting of Commonmark tests 2021-08-31 16:53:51 +02:00
Text.h