tests/unittest/headers.md in maruku-0.3.0 vs tests/unittest/headers.md in maruku-0.4.0
- old
+ new
@@ -13,14 +13,14 @@
*** Output of inspect ***
md_el(:document,[
- md_el(:header,["A title with ", md_em(["emphasis"])] , {:id=>"a_title_with_emphasis", :level=>1}),
- md_el(:header,["A title with ", md_em(["emphasis"])] , {:id=>"a_title_with_emphasis", :level=>2}),
- md_el(:header,["A title with ", md_em(["emphasis"])] , {:id=>"a_title_with_emphasis", :level=>4})
-] , {:title=>"A title with emphasis"})
+ md_el(:header,["A title with ", md_em(["emphasis"])],{:level=>1},[]),
+ md_el(:header,["A title with ", md_em(["emphasis"])],{:level=>2},[]),
+ md_el(:header,["A title with ", md_em(["emphasis"])],{:level=>4},[])
+],{},[])
*** Output of to_html ***
<h1 id='a_title_with_emphasis'>A title with <em>emphasis</em></h1>
<h2 id='a_title_with_emphasis'>A title with <em>emphasis</em></h2>
@@ -33,11 +33,11 @@
\hypertarget{a_title_with_emphasis}{}\subsection*{{A title with {\em emphasis}}}\label{a_title_with_emphasis}
\hypertarget{a_title_with_emphasis}{}\paragraph*{{A title with {\em emphasis}}}\label{a_title_with_emphasis}
-*** Output of to_s ***
+*** Output of to_md ***
A title with emphasisA title with emphasisA title with emphasis
*** Output of to_s ***
A title with emphasisA title with emphasisA title with emphasis
*** EOF ***
@@ -54,11 +54,11 @@
<h4>A title with <em>emphasis</em></h4>
*** Output of Markdown.pl (parsed) ***
<h1>A title with <em>emphasis</em
- ></h1
- ><h2>A title with <em>emphasis</em
- ></h2
- ><h4>A title with <em>emphasis</em
- ></h4
- >
+ ></h1
+ ><h2>A title with <em>emphasis</em
+ ></h2
+ ><h4>A title with <em>emphasis</em
+ ></h4
+ >
\ No newline at end of file