Debian Codegraph @

tests/extensions/attr_list.html

raw
1 <h1 id="setext">This is a sextext header</h1>
2 <p class="myclass" id="par1">A paragraph with some text.
3 Line two of the paragraph.</p>
4 <h2 class="someclass" id="sextext2">This is another</h2>
5 <p>Test some <em class="inline">inline</em> text.
6 A <a class="linkkyclass" href="http://example.com" title="A title.">link</a>
7 And a <strong class="nest">nested <a class="linky2" href="http://example.com" title="Some title">link</a></strong></p>
8 <h3 id="hash">This is a hash Header</h3>
9 <p bar="b az" baz="blah blah" foo="foo" title="I wasn't kidding!">And now some random attributes.</p>
10 <h3 id="hash2">No closing hash header</h3>
11 <p class="foo bar addme" id="overridden">Now test overrides</p>
12 <pre><code># A code block which contains attr_list syntax
13 # This should be ignored.
14 {: #someid .someclass }
15 </code></pre>
16 <h3 id="hash3">No colon for compatibility with Headerid ext</h3>
17 <p id="the_end">Also a codespan: <code class="foo">{: .someclass}</code>.</p>
18 <h3 _:="{:" id="hash5">Bad Syntax</h3>
19 <ul>
20 <li class="item">Item1</li>
21 <li class="item">Item2<ul>
22 <li class="subitem">Item2-1</li>
23 </ul>
24 </li>
25 <li class="item"><em class="emph">Item3</em><ul>
26 <li class="subitem"><em class="emph">Item3-1</em></li>
27 </ul>
28 </li>
29 <li>Item4<ul>
30 <li>Item4-1</li>
31 </ul>
32 </li>
33 <li>Item5</li>
34 </ul>
35 <h1>And ordered lists <em class="inline">too</em></h1>
36 <ol>
37 <li class="item">Item1</li>
38 <li class="item">Item2<ol>
39 <li class="subitem">Item2-1</li>
40 </ol>
41 </li>
42 <li class="item"><em class="emph">Item3</em><ol>
43 <li class="subitem"><em class="emph">Item3-1</em></li>
44 </ol>
45 </li>
46 <li>Item4<ol>
47 <li>Item4-1</li>
48 </ol>
49 </li>
50 <li>Item5</li>
51 </ol>
52 <h1 class="block">Definition <em>lists</em></h1>
53 <dl>
54 <dt class="term">DT1</dt>
55 <dt class="term">DT2</dt>
56 <dd class="def">Some dd</dd>
57 <dd><em class="inline">dd</em></dd>
58 <dt><em class="inline">DT3</em></dt>
59 <dd>Some dd</dd>
60 </dl>
61 <h1>Bad attributes</h1>
62 <p>Key without <em foo="foo">value</em></p>
63 <p>Value without <em>key</em></p>
64 <p>No <em>key or value</em></p>
65 <p><em>Weirdness</em></p>
66 <p><em>More weirdness</em></p>
67 <p>This should not cause a <em foo="a">crash</em></p>
68 <p>Attr_lists do not contain <em>newlines</em>{ foo=bar
69 key=value }</p>