File: html_trailing.md

package info (click to toggle)
ruby-maruku 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,296 kB
  • ctags: 492
  • sloc: ruby: 5,726; xml: 235; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (3)
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
Markdown should be processed trailing text after HTML
*** Parameters: ***
{}
*** Markdown input: ***
before

<!-- comment --> ------

after

<p>hello</p> *foo*

done
*** Output of inspect ***
md_el(:document, [
       md_par("before"),
       md_html("<!-- comment -->"),
       md_el(:hrule, []),
       md_par("after"),
       md_html("<p>hello</p>"),
       md_par(md_em("foo")),
       md_par("done") ])
*** Output of to_html ***
<p>before</p>
<!-- comment --><hr />

<p>after</p>
<p>hello</p>
<p><em>foo</em></p>

<p>done</p>