File: html_inline.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-- 655 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
JRUBY NOKOGIRI PENDING - Maruku should nest inline-level HTML inside a paragraph
(JRuby Nokogiri is broken for empty tags: https://github.com/sparklemotion/nokogiri/issues/971)
*** Parameters: ***
{} # params
*** Markdown input: ***
One
<span></span>123

<span></span>123

<animateColor/>123

<svg></svg>
*** Output of inspect ***
md_el(:document,[
	md_par(["One ", md_html("<span></span>"), "123"]),
	md_par([md_html("<span></span>"), "123"]),
	md_par([md_html("<animateColor/>"), "123"]),
	md_html("<svg></svg>"),
],{},[])
*** Output of to_html ***
<p>One <span></span>123</p>
<p><span></span>123</p>
<p><animateColor></animateColor>123</p>
<svg></svg>