2d303d54a0
For the Andrew Staceys of this world: deal with empty element in a more text/html-friendly fashion.
830 B
830 B
Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: *** Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph Br->
Paragraph 5
*** Output of inspect *** md_el(:document,[ md_par(["Paragraph 1"]), md_par(["Paragraph 2"]), md_par([ "Paragraph 3 Paragraph 4 Paragraph Br->", md_el(:linebreak,[],{},[]), "Paragraph 5" ]) ],{},[]) *** Output of to_html ***
Paragraph 1
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br->
Paragraph 5
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br-{\tt \char62}\newline Paragraph 5 *** Output of to_md *** Paragraph 1
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br->
Paragraph 5
*** Output of to_s ***
Paragraph 1Paragraph 2Paragraph 3 Paragraph 4 Paragraph Br->Paragraph 5