File: issue88.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 (19 lines) | stat: -rw-r--r-- 431 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
HTML tags get chomped in list. See https://github.com/bhollis/maruku/issues/88
*** Parameters: ***
{}
*** Markdown input: ***
<span> hello </span>

1. <span> world </span>

*** Output of inspect ***
md_el(:document, [md_par(md_html("<span> hello </span>")),
        md_el(:ol, md_li(md_html("<span> world </span>"), false))
])
*** Output of to_html ***
<p><span> hello </span>
</p>
<ol>
    <li><span> world </span>
    </li>
</ol>