instiki/vendor/plugins/maruku/spec/block_docs/inline_html.md
Jacques Distler 5c51f930b0 Fix another Maruku bbug
Image titles were not being output (a long-standing Maruku bug).
Also fix some broken specs. All the HTML specs pass. I hope they're
"correct".
2011-08-14 02:16:15 -05:00

3.2 KiB

Write a comment abouth the test here. *** Parameters: *** {:css=>"style.css"} *** Markdown input: *** CSS: style.css

Input:

<em>Emphasis</em>

Result: Emphasis

Input:

<img src="http://jigsaw.w3.org/css-validator/images/vcss"/>

Result on span:

Result alone:

Without closing:

This is *true* markdown text (paragraph)

This is *true* markdown text (no paragraph)

This is *true* markdown text (block paragraph)

This is a *true* markdown text. (no par) This is *true* markdown text. (par)

*** Output of inspect *** md_el(:document,[ md_par(["Input:"]), md_el(:code,[],{:raw_code=>"Emphasis"},[]), md_par(["Result: ", md_html("Emphasis")]), md_par(["Input:"]), md_el(:code,[],{:raw_code=>"<img src="http://jigsaw.w3.org/css-validator/images/vcss"/>"},[]), md_par([ "Result on span: ", md_html("<img src="http://jigsaw.w3.org/css-validator/images/vcss" />") ]), md_par(["Result alone:"]), md_html("<img src="http://jigsaw.w3.org/css-validator/images/vcss" />"), md_par(["Without closing:"]), md_html("<img src="http://jigsaw.w3.org/css-validator/images/vcss" />"), md_html("<div markdown="1">\n This is true markdown text (paragraph)\n\n <p markdown="1">\n This is true markdown text (no paragraph)\n

\n <p markdown="block">\n This is true markdown text (block paragraph)\n

\n"), md_html("\n\n<td markdown="1">This is a true markdown text. (no par)\n<td markdown="block">This is true markdown text. (par)\n\n
") ],{},[]) *** Output of to_html ***

Input:

<em>Emphasis</em>

Result: Emphasis

Input:

<img src="http://jigsaw.w3.org/css-validator/images/vcss"/>

Result on span:

Result alone:

Without closing:

This is

true

markdown text (paragraph)

This is

true

markdown text (no paragraph)

This is

true

markdown text (block paragraph)

This is a

true

markdown text. (no par)

This is

true

markdown text. (par)

*** Output of to_latex *** Input:

\begin{verbatim}Emphasis\end{verbatim} Result:

Input:

\begin{verbatim}\end{verbatim} Result on span:

Result alone:

Without closing: *** Output of to_md *** Input:

Result:

Input:

Result on span:

Result alone:

Without closing: *** Output of to_s *** Input:Result: Input:Result on span: Result alone:Without closing: