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

55 lines
1.7 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>
<link href='style.css' rel='stylesheet' type='text/css' />
</head>
<body>
<p>Input: <em>Emphasis</em> Result: <em>Emphasis</em></p>
<p>Input: <img src='http://jigsaw.w3.org/css-validator/images/vcss' /> Result on span: <img src='http://jigsaw.w3.org/css-validator/images/vcss' /></p>
<p>Result alone: </p>
<img src='http://jigsaw.w3.org/css-validator/images/vcss' />
<p>Without closing:</p>
<img src='http://jigsaw.w3.org/css-validator/images/vcss' />
<div>
<p>This is <em>true</em> markdown text (paragraph)</p>
<p>This is <em>true</em> markdown text (no paragraph)</p>
</div>
<table>
<tr>
<td>This is <em>true</em> markdown text. (no par)</td>
<td>
<p>This is <em>true</em> markdown text. (par)</p>
</td>
</tr>
</table>
<p>The following is invalid HTML, and will generate an error:</p>
<pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
&lt;table&gt;
&lt;td markdown=&quot;1&quot;&gt;This is *true* markdown text. (no par)&lt;/td&gt;
&lt;td markdown=&quot;block&quot;&gt;This is *true* markdown text. (par)&lt;/td&gt;
&lt;/tr&gt;</pre>
<pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
&lt;/table&gt;</pre>
<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>