tests/unittest/links.md in maruku-0.4.2.1 vs tests/unittest/links.md in maruku-0.5.0
- old
+ new
@@ -38,15 +38,15 @@
[Google Images]:
http://images.google.com (Google images)
*** Output of inspect ***
md_el(:document,[
- md_par(["Search on ", md_link(["Google"],"")]),
- md_par(["Search on ", md_link(["Google"],"")]),
md_par(["Search on ", md_link(["Google"],"google")]),
md_par(["Search on ", md_link(["Google"],"google")]),
- md_par(["Search on ", md_link(["Google images"],"")]),
+ md_par(["Search on ", md_link(["Google"],"google")]),
+ md_par(["Search on ", md_link(["Google"],"google")]),
+ md_par(["Search on ", md_link(["Google images"],"google_images")]),
md_par(["Inline: ", md_im_link(["Google images"], "http://google.com", nil)]),
md_par([
"Inline with title: ",
md_im_link(["Google images"], "http://google.com", "Title")
]),
@@ -69,12 +69,12 @@
]),
md_ref_def("google", "http://www.google.com", {:title=>nil}),
md_ref_def("google2", "http://www.google.com", {:title=>"Single quotes"}),
md_ref_def("google3", "http://www.google.com", {:title=>"Double quotes"}),
md_ref_def("google4", "http://www.google.com", {:title=>"Parenthesis"}),
- md_ref_def("google search", "http://www.google.com", {:title=>"Google search"}),
- md_ref_def("google images", "http://images.google.com", {:title=>"Google images"})
+ md_ref_def("google_search", "http://www.google.com", {:title=>"Google search"}),
+ md_ref_def("google_images", "http://images.google.com", {:title=>"Google images"})
],{},[])
*** Output of to_html ***
<p>Search on <a href='http://www.google.com'>Google</a></p>
@@ -111,11 +111,11 @@
Inline with title: \href{http://google.com}{Google images}
Inline with title: \href{http://google.com}{Google images}
-Search on \href{http://www.gogole.com}{\char104\char116\char116\char112\char58\char47\char47\char119\char119\char119\char46\char103\char111\char103\char111\char108\char101\char46\char99\char111\char109} or \href{http://Here.com}{\char104\char116\char116\char112\char58\char47\char47\char72\char101\char114\char101\char46\char99\char111\char109} or ask \href{mailto:bill@google.com}{\char98\char105\char108\char108\char64\char103\char111\char111\char103\char108\char101\char46\char99\char111\char109} or you might ask bill@google.com.
+Search on \href{http://www.gogole.com}{http\char58\char47\char47www\char46gogole\char46com} or \href{http://Here.com}{http\char58\char47\char47Here\char46com} or ask \href{mailto:bill@google.com}{bill\char64google\char46com} or you might ask bill@google.com.
If all else fails, ask \href{http://www.google.com}{Google}
*** Output of to_md ***
@@ -166,10 +166,10 @@
<p>Inline with title: <a href="http://google.com" title="Title">Google images</a></p>
<p>Inline with title: <a href="http://google.com "Title"">Google images</a></p>
-<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="mailto:bill@google.com">bill@google.com</a>
+<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="mailto:bill@google.com">bill@google.com</a>
or you might ask bill@google.com.</p>
<p>If all else fails, ask <a href="http://www.google.com">Google</a></p>
<p>[google2]: http://www.google.com 'Single quotes'</p>