File: test/expect/Inline-HTML-Simple.html

Recommend this page to a friend!
  Classes of Manuel Lemos  >  PHP Markdown Parser  >  test/expect/Inline-HTML-Simple.html  >  Download  
File: test/expect/Inline-HTML-Simple.html
Role: Auxiliary data
Content type: text/plain
Description: Original test HTML output file by John Gruber
Class: PHP Markdown Parser
Parse Markdown documents and generate HTML tags
Author: By
Last change: Fixed the end of line buffer variable setting.
Date: 5 years ago
Size: 1,022 bytes
 

Contents

Class file image Download
<p>Here's a simple block:</p>
<p>&lt;div&gt;
	foo
&lt;/div&gt;</p>
<p>This should be a code block, though:</p>
<pre><code>&lt;div&gt;
foo
&lt;/div&gt;
</code></pre><p></p>
<p>As should this:</p>
<pre><code>&lt;div&gt;foo&lt;/div&gt;
</code></pre><p></p>
<p>Now, nested:</p>
<p>&lt;div&gt;
	&lt;div&gt;
		&lt;div&gt;
			foo
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;</p>
<p>This should just be an HTML comment:</p>
<p>&lt;!-- Comment --&gt;</p>
<p>Multiline:</p>
<p>&lt;!--
Blah
Blah
--&gt;</p>
<p>Code block:</p>
<pre><code>&lt;!-- Comment --&gt;
</code></pre><p></p>
<p>Just plain comment, with trailing spaces on the line:</p>
<p>&lt;!-- foo --&gt;   </p>
<p>Code:</p>
<pre><code>&lt;hr /&gt;

</code></pre><p>Hr's:</p>
<p>&lt;hr&gt;</p>
<p>&lt;hr/&gt;</p>
<p>&lt;hr /&gt;</p>
<p>&lt;hr&gt;   </p>
<p>&lt;hr/&gt;  </p>
<p>&lt;hr /&gt; </p>
<p>&lt;hr class=&quot;foo&quot; id=&quot;bar&quot; /&gt;</p>
<p>&lt;hr class=&quot;foo&quot; id=&quot;bar&quot;/&gt;</p>
<p>&lt;hr class=&quot;foo&quot; id=&quot;bar&quot; &gt;</p>

For more information send a message to info at phpclasses dot org.