instiki/vendor/plugins/maruku/tests/others/entities.html
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

59 lines
1.4 KiB
HTML

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title></title>
</head>
<body>
<p>Maruku translates HTML entities to the equivalent in LaTeX:</p>
<table>
<thead>
<tr><th>Entity</th><th>Result</th></tr>
</thead>
<tbody>
<tr>
<td style='text-align: left;'><code>&amp;copy;</code></td>
<td style='text-align: left;'>&copy;</td>
</tr>
<tr>
<td style='text-align: left;'><code>&amp;pound;</code></td>
<td style='text-align: left;'>&pound;</td>
</tr>
<tr>
<td style='text-align: left;'><code>a&amp;nbsp;b</code></td>
<td style='text-align: left;'>a&nbsp;b</td>
</tr>
<tr>
<td style='text-align: left;'><code>&amp;lambda;</code></td>
<td style='text-align: left;'>&lambda;</td>
</tr>
<tr>
<td style='text-align: left;'><code>&amp;mdash;</code></td>
<td style='text-align: left;'>&mdash;</td>
</tr>
</tbody></table>
<p>Entity-substitution does not happen in code blocks or inline code.</p>
<p>The following should not be translated:</p>
<pre><code>&amp;copy;
</code></pre>
<p>It should read just like this: <code>&amp;copy;</code>.</p>
<div class='maruku_signature'>
<hr />
<span style='font-size: small; font-style: italic'>Created by <a href='http://maruku.rubyforge.org' title='Maruku: a Markdown interpreter'>Maruku</a> at 00:19 on Wednesday, January 03rd, 2007.</span></div>
</body></html>