File: issue31.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 (25 lines) | stat: -rw-r--r-- 729 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
Markdown should be processed inside span-level tags. https://github.com/bhollis/maruku/issues/31
*** Parameters: ***
{}
*** Markdown input: ***
<span>*hello*</span>

<p><span>*hello*</span></p>

<span>hello <span>*there*</span></span>

<span>hello
<span>*there*</span></span>
*** Output of inspect ***
md_el(:document, [
  md_par(md_html("<span>*hello*</span>")),
  md_html("<p><span>*hello*</span></p>"),
  md_par(md_html("<span>hello <span>*there*</span></span>")),
  md_par(md_html("<span>hello\n<span>*there*</span></span>"))
])
*** Output of to_html ***
<p><span><em>hello</em></span></p>
<p><span>*hello*</span></p>
<p><span>hello <span><em>there</em></span></span></p>
<p><span>hello
<span><em>there</em></span></span></p>