| 1 | <p>Link: <a href="http://example.com/">http://example.com/</a>.</p> |
| 2 | |
| 3 | <p>With an ampersand: <a href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</a></p> |
| 4 | |
| 5 | <ul> |
| 6 | <li>In a list?</li> |
| 7 | <li><a href="http://example.com/">http://example.com/</a></li> |
| 8 | <li>It should.</li> |
| 9 | </ul> |
| 10 | |
| 11 | <blockquote> |
| 12 | <p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p> |
| 13 | </blockquote> |
| 14 | |
| 15 | <p>Auto-links should not occur here: <code><http://example.com/></code></p> |
| 16 | |
| 17 | <pre><code>or here: <http://example.com/> |
| 18 | </code></pre> |