File: issue26.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 (22 lines) | stat: -rw-r--r-- 465 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
Nested lists shouldn't get <p> tags wrapped around elements. https://github.com/bhollis/maruku/issues/26
*** Parameters: ***
{}
*** Markdown input: ***
 -  Root
     +  Node
     +  Node
 -  Root
*** Output of inspect ***
md_el(:document, md_el(:ul, [
	md_li(["Root", md_el(:ul, [md_li("Node", false), md_li("Node", false)])], false),
	md_li("Root", false)
]))
*** Output of to_html ***
<ul>
<li>Root
<ul>
<li>Node</li>
<li>Node</li>
</ul></li>
<li>Root</li>
</ul>