instiki/vendor/plugins/maruku/tests/unittest/ie.md
Jacques Distler 1085168bbf Update to latest HTML5lib, Add Maruku testdir
Sync with the latest html5lib.
Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
2008-01-08 00:01:35 -06:00

2.8 KiB

We must make sure that ' is always written as '.

*** Parameters: *** {} # params *** Markdown input: *** <p>here's an apostrophe & a quote "</p>

<p>here's an apostrophe & a quote "</p>

{:}

<p>here's an apostrophe & a quote "</p>

{:lang=xml}

<p>here's an apostrophe & a quote "</p>

{:html_use_syntax=true lang=not_supported}

<p>here's an apostrophe & a quote "</p>

{:html_use_syntax=true lang=xml}

*** Output of inspect *** md_el(:document,[ md_par([md_code("

here's an apostrophe & a quote "

")]), md_el(:code,[],{:raw_code=>"

here's an apostrophe & a quote "

"},[]), md_el(:code,[],{:raw_code=>"

here's an apostrophe & a quote "

"},"lang", "xml"), md_el(:code,[],{:raw_code=>"

here's an apostrophe & a quote "

"},"html_use_syntax", "true"], ["lang", "not_supported"), md_el(:code,[],{:raw_code=>"

here's an apostrophe & a quote "

"},"html_use_syntax", "true"], ["lang", "xml") ],{},[]) *** Output of to_html ***

<p>here's an apostrophe & a quote "</p>

<p>here's an apostrophe & a quote "</p>
<p>here's an apostrophe & a quote "</p>
<p>here's an apostrophe & a quote "</p>
<p>here's an apostrophe & a quote "</p>

*** Output of to_latex *** {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char60p\char62here\char39s~an~apostrophe~\char38~a~quote~\char34\char60\char47p\char62}}

\begin{verbatim}

here's an apostrophe & a quote "

\end{verbatim} \begin{verbatim}

here's an apostrophe & a quote "

\end{verbatim} \begin{verbatim}

here's an apostrophe & a quote "

\end{verbatim} \begin{verbatim}

here's an apostrophe & a quote "

\end{verbatim} *** Output of to_md ***

*** Output of to_s ***

*** EOF ***

OK!

*** Output of Markdown.pl ***

<p>here's an apostrophe & a quote "</p>

<p>here's an apostrophe & a quote "</p>

{:}

<p>here's an apostrophe & a quote "</p>

{:lang=xml}

<p>here's an apostrophe & a quote "</p>

{:htmlusesyntax=true lang=not_supported}

<p>here's an apostrophe & a quote "</p>

{:htmlusesyntax=true lang=xml}

*** Output of Markdown.pl (parsed) *** Error: #<NoMethodError: private method `write_children' called for

... </>:REXML::Element>