Misc Cleanup

Cleaned up some dependencies, and added a mime_types.yml file for Mongrel-compatibility.
This commit is contained in:
Jacques Distler 2008-01-14 14:46:38 -06:00
parent f101ee9a21
commit 4586614914
89 changed files with 1265 additions and 1812 deletions

View file

@ -52,12 +52,50 @@ md_el(:document,[
OK!
Failed tests: [:to_html]
*** Output of inspect ***
md_el(:document,[
md_el(:equation,[],{:label=>"eq1",:math=>"\t\\alpha\n\n",:num=>1},[]),
md_el(:equation,[],{:label=>nil,:math=>"\t\\alpha\n\n",:num=>nil},[]),
md_el(:equation,[],{:label=>nil,:math=>" \\beta\n",:num=>nil},[]),
md_el(:equation,[],{:label=>nil,:math=>" \\gamma ",:num=>nil},[])
],{},[])
*** Output of to_html ***
-----| WARNING | -----
<div class='maruku-equation' id='eq:eq1'><span class='maruku-eq-number'>(1)</span><code class='maruku-mathml'> \alpha
</code><div class='maruku-eq-tex'><code style='display: none'> \alpha
</code></div></div><div class='maruku-equation'><code class='maruku-mathml'> \alpha
</code><div class='maruku-eq-tex'><code style='display: none'> \alpha
</code></div></div><div class='maruku-equation'><code class='maruku-mathml'> \beta
</code><div class='maruku-eq-tex'><code style='display: none'> \beta
</code></div></div><div class='maruku-equation'><code class='maruku-mathml'> \gamma </code><div class='maruku-eq-tex'><code style='display: none'> \gamma </code></div></div>
*** Output of to_latex ***
\begin{equation}
\alpha
\label{eq1}\end{equation}
\begin{displaymath}
\alpha
\end{displaymath}
\begin{displaymath}
\beta
\end{displaymath}
\begin{displaymath}
\gamma
\end{displaymath}
*** Output of to_md ***
*** Output of to_s ***
*** Output of Markdown.pl ***
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>&alpha;</mi></math>
<p>[
\alpha
]</p>
<p>\begin{equation}
\alpha
@ -69,19 +107,15 @@ md_el(:document,[
<p>\begin{equation} \gamma \end{equation}</p>
*** Output of Markdown.pl (parsed) ***
<div>
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
<mi>
&alpha;
</mi>
</math>
<p>
\begin{equation} \alpha \end{equation}
</p>
<p>
\begin{equation} \beta \end{equation}
</p>
<p>
\begin{equation} \gamma \end{equation}
</p>
</div>
<div
><p>[
\alpha
]</p
><p>\begin{equation}
\alpha
\end{equation}</p
><p>\begin{equation} \beta
\end{equation}</p
><p>\begin{equation} \gamma \end{equation}</p
></div
>