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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
We must make sure that `'` is always written as `'`.
*** Parameters: ***
{:html_use_syntax => true} # 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("<p>here's an apostrophe & a quote \"</p>")]),
md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[]),
md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[["lang", "xml"]]),
md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[["html_use_syntax", "true"], ["lang", "not_supported"]]),
md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[["html_use_syntax", "true"], ["lang", "xml"]])
],{},[])
*** Output of to_html ***
<p><code><p>here's an apostrophe & a quote "</p></code></p>
<pre><code><p>here's an apostrophe & a quote "</p></code></pre>
<pre class="xml"><code class="xml"><span class="punct"><</span><span class="tag">p</span><span class="punct">></span>here's an apostrophe & a quote "<span class="punct"></</span><span class="tag">p</span><span class="punct">></span></code></pre>
<pre class="not_supported"><code class="not_supported"><p>here's an apostrophe & a quote "</p></code></pre>
<pre class="xml"><code class="xml"><span class="punct"><</span><span class="tag">p</span><span class="punct">></span>here's an apostrophe & a quote "<span class="punct"></</span><span class="tag">p</span><span class="punct">></span></code></pre>
*** Output of to_latex ***
{\colorbox[rgb]{1.00,0.93,1.00}{\tt \char60p\char62here\char39s\char32an\char32apostrophe\char32\char38\char32a\char32quote\char32\char34\char60\char47p\char62}}
\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
*** Output of to_md ***
`<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 to_s ***
|