75$this->assertEqual("<blockquote>\n\t<p>Example of blockquoted text</p>\n</blockquote>", BSMarkdown::Parse('> Example of blockquoted text'));
76$this->assertEqual("<blockquote>\n\t<p>Another\n\texample\n\tof</p>\n\n<p>blockquoted text <br />\there.</p>\n</blockquote>", BSMarkdown::Parse("> Another\nexample\nof\n\n>blockquoted text\nhere."));
77$this->assertEqual("<blockquote>\n\t<h2>This is a header.</h2>\n\n\t<p>Welcome to AT&T.</p>\n</blockquote>", BSMarkdown::Parse("> ## This is a header.\n>\n>\nWelcome to AT&T."));
103$this->assertEqual("<ol>\n<li>A list with blockquote:\n\n<blockquote>\n\t<p>This blockquote\n\tis inside a list.</p>\n</blockquote></li>\n</ol>", BSMarkdown::Parse("1. A list with blockquote:\n\n> This blockquote\nis inside a list."));
104$this->assertEqual("<ol>\n<li>A list with blockquote:\n\n<blockquote>\n\t<p>This blockquote\n\tis inside a list.</p>\n</blockquote></li>\n</ol>", BSMarkdown::Parse("1. A list with blockquote:\n\n\t> This blockquote\n> is inside a list."));
106$this->assertEqual("<ul>\n<li><p>A list item with a code block:</p>\n\n<pre><code>code goes here</code></pre></li>\n</ul>", BSMarkdown::Parse("+ A list item without a code block: code goes here"));
107$this->assertEqual("<ul>\n<li><p>A list item with a code block:</p>\n\n<pre><code>code goes here\n</code></pre></li>\n</ul>", BSMarkdown::Parse("* A list item without a code block:\t\tcode goes here"));
112$this->assertEqual("<p>This is a normal paragraph:</p>\n\n<pre><code>This is a code block.\n</code></pre>", BSMarkdown::Parse("This is a normal paragraph:\n\nThis is a code block."));
113$this->assertEqual("<p>This is a normal paragraph:</p>\n\n<pre><code>This is a code block.\n</code></pre>", BSMarkdown::Parse("This is a normal paragraph:\n\n\tThis is a code block."));
131$this->assertEqual('<p>This is <a href="http://example.com/" title="Title"> an example</a> inline link.</p>', BSMarkdown::Parse('This is [an example](http://example.com/ "Title") inline link.'));
132$this->assertEqual('<p><a href="http://example.net/">This link</a> has no title attribute.</p>', BSMarkdown::Parse('[This link](http://example.net/) has no title attribute.'));
133$this->assertEqual('<p>See my <a href="/about/">About</a> page for details.</p>', BSMarkdown::Parse('See my [About](/about/) page for details.'));
141$this->assertEqual('<p>This is <a href="http://example.com/" title="Optional Title Here">an example</a> reference-style link.</p>', BSMarkdown::Parse("This is [an example][id] reference-style link.\n\n[id]: http://example.com/\"Optional Title Here\""));
142$this->assertEqual('<p>This is <a href="http://example.com/" title="Optional Title Here">an example</a> reference-style link.</p>', BSMarkdown::Parse("This is [an example] [id] reference-style link.\n[id]: http://example.com/ 'Optional Title Here'"));
143$this->assertEqual('<p>This is <a href="http://example.com/" title="Optional Title Here">an example</a> reference-style link.</p>', BSMarkdown::Parse("This is [an example]\t[id] reference-style link.\n\n\n[id]: http://example.com/ (Optional Title Here)"));
145$this->assertEqual('<p>Example link <a href="http://example.com" title="title">here</a> there.</p>', BSMarkdown::Parse("Example link [here][id] there.\n[id]: <http://example.com/> (title)"));
146$this->assertEqual('<p>Example link <a href="http://example.com">here</a> there.</p>', BSMarkdown::Parse("Example link [here][id] there.\n[id]: <http://example.com/>"));
148$this->assertEqual('<p>Welcome to <a href="http://www.google.com">Google</a>.</p>', BSMarkdown::Parse("Welcome to [Google][].\n[Google]: http://www.google.com"));
166$this->assertEqual('<p>Use the <code>printf()</code> function.</p>', BSMarkdown::Parse('Use the `printf()` function.'));
167$this->assertEqual('<p><code>There is a literal backtick (`) here.</code></p>', BSMarkdown::Parse('``There is a literal backtick (`) here.``'));
168$this->assertEqual('<p>A single backtick in a code span: <code>`</code></p>', BSMarkdown::Parse('A single backtick in a code span: `` ` ``'));
169$this->assertEqual('<p>A backtick-delimited string in a code span: <code>`foo`</code></p>', BSMarkdown::Parse('A backtick-delimited string in a code span: `` `foo` ``'));
171$this->assertEqual('<p>Please do not use any <code><blink></code> tags.</p>', BSMarkdown::Parse('Please do not use any `<blink>` tags.'));
172$this->assertEqual('<p><code>&#8212;</code> is the decimal-encoded equivalent of <code>&mdash;</code>.</p>', BSMarkdown::Parse('`—` is the decimal-encoded equivalent of `—`.'));
188$this->assertEqual('<p>`This is not code`</p>', BSMarkdown::Parse('\`This is not code\`'));
189$this->assertEqual('<p>*This is not italics*</p>', BSMarkdown::Parse('\*This is not italics\*'));
190$this->assertEqual('<p>* This is not a list</p>', BSMarkdown::Parse('\* This is not a list'));
191$this->assertEqual('<p>__This is not bold__</p>', BSMarkdown::Parse('\_\_This is not bold__'));
192$this->assertEqual('<p>This [is not](http://www.example.com "Moo") a URL.</p>', BSMarkdown::Parse('This \[is not](http://www.example.com "Moo") a URL.'));
193$this->assertEqual('<p>This [is not](http://www.example.com "Moo") a URL.</p>', BSMarkdown::Parse('This [is not]\(http://www.example.com "Moo") a URL.'));
194$this->assertEqual("<p>This is not a heading\n-</p>", BSMarkdown::Parse("This is not a heading\n\-"));
195$this->assertEqual("<p>1986. What a great season.</p>", BSMarkdown::Parse('1986\. What a great season.'));
196$this->assertEqual('<p>This is not an iamge: !<a href="url/to/image" title="Optional title attribute">Alt text</a>!</p>', BSMarkdown::Parse('This is not an iamge: \!'));
197$this->assertEqual('<p>This is not an iamge: !</p>', BSMarkdown::Parse('This is not an iamge: \!\[Alt text](url/to/image "Optional title attribute")!'));