123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- >>> HTML blocks - 148
- <table><tr><td>
- <pre>
- **Hello**,
- _world_.
- </pre>
- </td></tr></table>
- <<<
- <table><tr><td>
- <pre>
- **Hello**,
- <p><em>world</em>.
- </pre></p>
- </td></tr></table>
- >>> HTML blocks - 149
- <table>
- <tr>
- <td>
- hi
- </td>
- </tr>
- </table>
- okay.
- <<<
- <table>
- <tr>
- <td>
- hi
- </td>
- </tr>
- </table>
- <p>okay.</p>
- >>> HTML blocks - 150
- <div>
- *hello*
- <foo><a>
- <<<
- <div>
- *hello*
- <foo><a>
- >>> HTML blocks - 151
- </div>
- *foo*
- <<<
- </div>
- *foo*
- >>> HTML blocks - 152
- <DIV CLASS="foo">
- *Markdown*
- </DIV>
- <<<
- <DIV CLASS="foo">
- <p><em>Markdown</em></p>
- </DIV>
- >>> HTML blocks - 153
- <div id="foo"
- class="bar">
- </div>
- <<<
- <div id="foo"
- class="bar">
- </div>
- >>> HTML blocks - 154
- <div id="foo" class="bar
- baz">
- </div>
- <<<
- <div id="foo" class="bar
- baz">
- </div>
- >>> HTML blocks - 155
- <div>
- *foo*
- *bar*
- <<<
- <div>
- *foo*
- <p><em>bar</em></p>
- >>> HTML blocks - 156
- <div id="foo"
- *hi*
- <<<
- <div id="foo"
- *hi*
- >>> HTML blocks - 157
- <div class
- foo
- <<<
- <div class
- foo
- >>> HTML blocks - 158
- <div *???-&&&-<---
- *foo*
- <<<
- <div *???-&&&-<---
- *foo*
- >>> HTML blocks - 159
- <div><a href="bar">*foo*</a></div>
- <<<
- <div><a href="bar">*foo*</a></div>
- >>> HTML blocks - 160
- <table><tr><td>
- foo
- </td></tr></table>
- <<<
- <table><tr><td>
- foo
- </td></tr></table>
- >>> HTML blocks - 161
- <div></div>
- ``` c
- int x = 33;
- ```
- <<<
- <div></div>
- ``` c
- int x = 33;
- ```
- >>> HTML blocks - 162
- <a href="foo">
- *bar*
- </a>
- <<<
- <a href="foo">
- *bar*
- </a>
- >>> HTML blocks - 163
- <Warning>
- *bar*
- </Warning>
- <<<
- <Warning>
- *bar*
- </Warning>
- >>> HTML blocks - 164
- <i class="foo">
- *bar*
- </i>
- <<<
- <i class="foo">
- *bar*
- </i>
- >>> HTML blocks - 165
- </ins>
- *bar*
- <<<
- </ins>
- *bar*
- >>> HTML blocks - 166
- <del>
- *foo*
- </del>
- <<<
- <del>
- *foo*
- </del>
- >>> HTML blocks - 167
- <del>
- *foo*
- </del>
- <<<
- <del>
- <p><em>foo</em></p>
- </del>
- >>> HTML blocks - 168
- <del>*foo*</del>
- <<<
- <p><del><em>foo</em></del></p>
- >>> HTML blocks - 169
- <pre language="haskell"><code>
- import Text.HTML.TagSoup
- main :: IO ()
- main = print $ parseTags tags
- </code></pre>
- okay
- <<<
- <pre language="haskell"><code>
- import Text.HTML.TagSoup
- main :: IO ()
- main = print $ parseTags tags
- </code></pre>
- <p>okay</p>
- >>> HTML blocks - 170
- <script type="text/javascript">
- // JavaScript example
- document.getElementById("demo").innerHTML = "Hello JavaScript!";
- </script>
- okay
- <<<
- <script type="text/javascript">
- // JavaScript example
- document.getElementById("demo").innerHTML = "Hello JavaScript!";
- </script>
- <p>okay</p>
- >>> HTML blocks - 171
- <textarea>
- *foo*
- _bar_
- </textarea>
- <<<
- <textarea>
- *foo*
- _bar_
- </textarea>
- >>> HTML blocks - 172
- <style
- type="text/css">
- h1 {color:red;}
- p {color:blue;}
- </style>
- okay
- <<<
- <style
- type="text/css">
- h1 {color:red;}
- p {color:blue;}
- </style>
- <p>okay</p>
- >>> HTML blocks - 173
- <style
- type="text/css">
- foo
- <<<
- <style
- type="text/css">
- foo
- >>> HTML blocks - 174
- > <div>
- > foo
- bar
- <<<
- <blockquote>
- <div>
- foo
- </blockquote>
- <p>bar</p>
- >>> HTML blocks - 175
- - <div>
- - foo
- <<<
- <ul>
- <li>
- <div>
- </li>
- <li>foo</li>
- </ul>
- >>> HTML blocks - 176
- <style>p{color:red;}</style>
- *foo*
- <<<
- <style>p{color:red;}</style>
- <p><em>foo</em></p>
- >>> HTML blocks - 177
- <!-- foo -->*bar*
- *baz*
- <<<
- <!-- foo -->*bar*
- <p><em>baz</em></p>
- >>> HTML blocks - 178
- <script>
- foo
- </script>1. *bar*
- <<<
- <script>
- foo
- </script>1. *bar*
- >>> HTML blocks - 179
- <!-- Foo
- bar
- baz -->
- okay
- <<<
- <!-- Foo
- bar
- baz -->
- <p>okay</p>
- >>> HTML blocks - 180
- <?php
- echo '>';
- ?>
- okay
- <<<
- <?php
- echo '>';
- ?>
- <p>okay</p>
- >>> HTML blocks - 181
- <!DOCTYPE html>
- <<<
- <!DOCTYPE html>
- >>> HTML blocks - 182
- <![CDATA[
- function matchwo(a,b)
- {
- if (a < b && a < 0) then {
- return 1;
- } else {
- return 0;
- }
- }
- ]]>
- okay
- <<<
- <![CDATA[
- function matchwo(a,b)
- {
- if (a < b && a < 0) then {
- return 1;
- } else {
- return 0;
- }
- }
- ]]>
- <p>okay</p>
- >>> HTML blocks - 183
- <!-- foo -->
- <!-- foo -->
- <<<
- <!-- foo -->
- <pre><code><!-- foo -->
- </code></pre>
- >>> HTML blocks - 184
- <div>
- <div>
- <<<
- <div>
- <pre><code><div>
- </code></pre>
- >>> HTML blocks - 185
- Foo
- <div>
- bar
- </div>
- <<<
- <p>Foo</p>
- <div>
- bar
- </div>
- >>> HTML blocks - 186
- <div>
- bar
- </div>
- *foo*
- <<<
- <div>
- bar
- </div>
- *foo*
- >>> HTML blocks - 187
- Foo
- <a href="bar">
- baz
- <<<
- <p>Foo
- <a href="bar">
- baz</p>
- >>> HTML blocks - 188
- <div>
- *Emphasized* text.
- </div>
- <<<
- <div>
- <p><em>Emphasized</em> text.</p>
- </div>
- >>> HTML blocks - 189
- <div>
- *Emphasized* text.
- </div>
- <<<
- <div>
- *Emphasized* text.
- </div>
- >>> HTML blocks - 190
- <table>
- <tr>
- <td>
- Hi
- </td>
- </tr>
- </table>
- <<<
- <table>
- <tr>
- <td>
- Hi
- </td>
- </tr>
- </table>
- >>> HTML blocks - 191
- <table>
- <tr>
- <td>
- Hi
- </td>
- </tr>
- </table>
- <<<
- <table>
- <tr>
- <pre><code><td>
- Hi
- </td>
- </code></pre>
- </tr>
- </table>
|