2008-01-08 07:01:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*** Parameters: ***
|
|
|
|
{}
|
|
|
|
*** Markdown input: ***
|
|
|
|
'Twas a "test" to 'remember' in the '90s.
|
|
|
|
'Twas a "test" to 'remember' in the '90s.
|
|
|
|
|
|
|
|
It was --- in a sense --- really... interesting.
|
|
|
|
It was --- in a sense --- really... interesting.
|
|
|
|
|
|
|
|
I -- too -- met << some curly quotes >> there or <<here>>No space.
|
|
|
|
I -- too -- met << some curly quotes >> there or <<here>>No space.
|
|
|
|
|
|
|
|
|
|
|
|
She was 6\"12\'.
|
|
|
|
> She was 6\"12\'.
|
|
|
|
|
|
|
|
*** Output of inspect ***
|
|
|
|
md_el(:document,[
|
|
|
|
md_el(:code,[],{:raw_code=>"'Twas a \"test\" to 'remember' in the '90s."},[]),
|
|
|
|
md_par([
|
|
|
|
md_entity("lsquo"),
|
|
|
|
"Twas a ",
|
|
|
|
md_entity("ldquo"),
|
|
|
|
"test",
|
|
|
|
md_entity("rdquo"),
|
|
|
|
" to ",
|
|
|
|
md_entity("lsquo"),
|
|
|
|
"remember",
|
|
|
|
md_entity("rsquo"),
|
|
|
|
" in the ",
|
|
|
|
md_entity("rsquo"),
|
|
|
|
"90s."
|
|
|
|
]),
|
|
|
|
md_el(:code,[],{:raw_code=>"It was --- in a sense --- really... interesting."},[]),
|
|
|
|
md_par([
|
|
|
|
"It was ",
|
|
|
|
md_entity("mdash"),
|
|
|
|
" in a sense ",
|
|
|
|
md_entity("mdash"),
|
|
|
|
" really",
|
|
|
|
md_entity("hellip"),
|
|
|
|
" interesting."
|
|
|
|
]),
|
|
|
|
md_el(:code,[],{:raw_code=>"I -- too -- met << some curly quotes >> there or <<here>>No space."},[]),
|
|
|
|
md_par([
|
|
|
|
"I ",
|
|
|
|
md_entity("ndash"),
|
|
|
|
" too ",
|
|
|
|
md_entity("ndash"),
|
|
|
|
" met ",
|
|
|
|
md_entity("laquo"),
|
|
|
|
md_entity("nbsp"),
|
|
|
|
"some curly quotes",
|
|
|
|
md_entity("nbsp"),
|
|
|
|
md_entity("raquo"),
|
|
|
|
" there or ",
|
|
|
|
md_entity("laquo"),
|
|
|
|
"here",
|
|
|
|
md_entity("raquo"),
|
|
|
|
"No space."
|
|
|
|
]),
|
|
|
|
md_el(:code,[],{:raw_code=>"She was 6\\\"12\\'."},[]),
|
|
|
|
md_el(:quote,[
|
|
|
|
md_par(["She was 6", md_entity("quot"), "12", md_entity("apos"), "."])
|
|
|
|
],{},[])
|
|
|
|
],{},[])
|
|
|
|
*** Output of to_html ***
|
|
|
|
<pre><code>'Twas a "test" to 'remember' in the '90s.</code></pre>
|
|
|
|
|
|
|
|
<p>‘Twas a “test” to ‘remember’ in the ’90s.</p>
|
|
|
|
|
|
|
|
<pre><code>It was --- in a sense --- really... interesting.</code></pre>
|
|
|
|
|
|
|
|
<p>It was — in a sense — really… interesting.</p>
|
|
|
|
|
|
|
|
<pre><code>I -- too -- met << some curly quotes >> there or <<here>>No space.</code></pre>
|
|
|
|
|
|
|
|
<p>I – too – met « some curly quotes » there or «here»No space.</p>
|
|
|
|
|
|
|
|
<pre><code>She was 6\"12\'.</code></pre>
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
<p>She was 6"12'.</p>
|
|
|
|
</blockquote>
|
|
|
|
*** Output of to_latex ***
|
|
|
|
\begin{verbatim}'Twas a "test" to 'remember' in the '90s.\end{verbatim}
|
|
|
|
`{}Twas a ``{}test''{} to `{}remember'{} in the '{}90s.
|
|
|
|
|
|
|
|
\begin{verbatim}It was --- in a sense --- really... interesting.\end{verbatim}
|
|
|
|
It was ---{} in a sense ---{} really\ldots{} interesting.
|
|
|
|
|
|
|
|
\begin{verbatim}I -- too -- met << some curly quotes >> there or <<here>>No space.\end{verbatim}
|
|
|
|
I --{} too --{} met \guillemotleft{}~{}some curly quotes~{}\guillemotright{} there or \guillemotleft{}here\guillemotright{}No space.
|
|
|
|
|
|
|
|
\begin{verbatim}She was 6\"12\'.\end{verbatim}
|
|
|
|
\begin{quote}%
|
|
|
|
She was 6"{}12'{}.
|
|
|
|
|
|
|
|
|
|
|
|
\end{quote}
|
|
|
|
*** Output of to_md ***
|
|
|
|
Twas a test to remember in the 90s.
|
|
|
|
|
|
|
|
It was in a sense really interesting.
|
|
|
|
|
|
|
|
I too met some curly quotes there or
|
|
|
|
here No space.
|
|
|
|
|
|
|
|
She was 6 12 .
|
|
|
|
*** Output of to_s ***
|
|
|
|
Twas a test to remember in the 90s.It was in a sense really interesting.I too met some curly quotes there or hereNo space.She was 612.
|
|
|
|
*** EOF ***
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OK!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*** Output of Markdown.pl ***
|
|
|
|
<pre><code>'Twas a "test" to 'remember' in the '90s.
|
|
|
|
</code></pre>
|
|
|
|
|
|
|
|
<p>'Twas a "test" to 'remember' in the '90s.</p>
|
|
|
|
|
|
|
|
<pre><code>It was --- in a sense --- really... interesting.
|
|
|
|
</code></pre>
|
|
|
|
|
|
|
|
<p>It was --- in a sense --- really... interesting.</p>
|
|
|
|
|
|
|
|
<pre><code>I -- too -- met << some curly quotes >> there or <<here>>No space.
|
|
|
|
</code></pre>
|
|
|
|
|
|
|
|
<p>I -- too -- met << some curly quotes >> there or <<here>>No space.</p>
|
|
|
|
|
|
|
|
<pre><code>She was 6\"12\'.
|
|
|
|
</code></pre>
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
<p>She was 6\"12\'.</p>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
*** Output of Markdown.pl (parsed) ***
|
|
|
|
Error: #<REXML::ParseException: #<REXML::ParseException: Missing end tag for 'here' (got "p")
|
|
|
|
Line:
|
|
|
|
Position:
|
|
|
|
Last 80 unconsumed characters:
|
|
|
|
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|
2008-01-14 21:46:38 +01:00
|
|
|
/sw/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
|
|
|
/sw/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
|
|
|
/sw/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
|
|
|
/sw/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
2008-01-08 07:01:35 +01:00
|
|
|
bin/marutest:200:in `new'
|
|
|
|
bin/marutest:200:in `run_test'
|
2008-01-14 21:46:38 +01:00
|
|
|
bin/marutest:274:in `marutest'
|
|
|
|
bin/marutest:271:in `each'
|
|
|
|
bin/marutest:271:in `marutest'
|
|
|
|
bin/marutest:346
|
2008-01-08 07:01:35 +01:00
|
|
|
...
|
|
|
|
Missing end tag for 'here' (got "p")
|
|
|
|
Line:
|
|
|
|
Position:
|
|
|
|
Last 80 unconsumed characters:
|
|
|
|
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</
|
|
|
|
Line:
|
|
|
|
Position:
|
|
|
|
Last 80 unconsumed characters:
|
|
|
|
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|