1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
XML Comments need to be handled properly.
Note that output is kind of weird because we modify the comment in order to let REXML parse it due to https://bugs.ruby-lang.org/issues/9277.
*** Parameters: ***
{}
*** Markdown input: ***
<!--
’
-->
<!-- declarations for <head> & <body> -->
<!-- -- is invalid -->
<!-- -- is
invalid -->
*** Output of inspect ***
md_el(:document,[md_html("<!--\n’\n-->"),
md_html("<!-- declarations for <head> & <body> -->"),
md_html("<!-- - - is invalid -->"),
md_html("<!-- - - is\ninvalid -->")])
*** Output of to_html ***
<!--
’
-->
<!-- declarations for <head> & <body> -->
<!-- - - is invalid -->
<!-- - - is
invalid -->
|