blob: e6610d417e3454c4e6b2abb850cabd39fc428065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Anchor Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#anchor_test.anchors">Anchors</a>
</li>
<li>
<a href="#anchor_test.section_anchor"><span></span>Section Anchor</a>
</li>
<li>
<a href="#anchor_test.conditional_section_anchor"><span></span>Conditional
Section Anchor</a>
</li>
<li>
<a href="#anchor_test.lists">Lists</a>
</li>
<li>
<a href="#anchor_test.anchors_in_templates">Anchors in templates</a>
</li>
<li>
<a href="#anchor_test.anchors_in_syntax_highlighted_code">Anchors in syntax
highlighted code</a>
</li>
<li>
<a href="#anchor_test.nested_anchors">Nested anchors</a>
</li>
</ul>
</div>
<div id="anchor_test.anchors">
<h3>
Anchors
</h3>
<div id="anchor_test.anchors">
<p>
<span id="a1"></span>A paragraph containing several anchors. <span id="a2"></span>We
want to make sure they appear in the correct place. <span id="a3"></span>
</p>
<h3 id="anchor_test.anchors.this_heading_shouldn_t_pick_up_the_previous_anchor">
This heading shouldn't pick up the previous anchor
</h3>
<span id="a4"></span>
<h3 id="anchor_test.anchors.this_heading_should_pick_up_the_previous_anchor">
This heading should pick up the previous anchor
</h3>
<span id="a5"></span>
<h3 id="anchor_test.anchors.and_this_one">
And this one
</h3>
<span id="a6"></span>
<h3 id="anchor_test.anchors.also_this_one">
Also this one
</h3>
<span id="a7"></span>
<h3 id="anchors.finally_this">
Finally this
</h3>
<span id="a8"></span>
</div>
</div>
<div id="anchor_test.section_anchor">
<h3>
<span id="a9"></span>Section Anchor
</h3>
<div id="anchor_test.section_anchor">
<span id="a11"></span>
</div>
<div id="anchor_test.nested_section">
<h3>
<span id="a10"></span>Nested Section
</h3>
<div id="anchor_test.nested_section">
</div>
</div>
</div>
<div id="anchor_test.conditional_section_anchor">
<h3>
<span id="a12"></span>Conditional Section Anchor
</h3>
<div id="anchor_test.conditional_section_anchor">
</div>
</div>
<div id="anchor_test.lists">
<h3>
Lists
</h3>
<div id="anchor_test.lists">
<span id="a14"></span>
<ul>
<li>
<div>
Item 1
</div>
</li>
<li>
<div>
Item 2
</div>
</li>
<li>
<div>
Nested List <span id="a15"></span>
<ul>
<li>
<div>
Nested Item 1
</div>
</li>
<li>
<div>
Nested Item 2
</div>
</li>
<li>
<div>
<span id="a16"></span>Nested Item 3
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
Item 3
</div>
</li>
</ul>
</div>
</div>
<div id="anchor_test.anchors_in_templates">
<h3>
Anchors in templates
</h3>
<div id="anchor_test.anchors_in_templates">
<p>
<span id="t1"></span>Some text.
</p>
<p>
<span id="t2"></span>Text content
</p>
</div>
</div>
<div id="anchor_test.anchors_in_syntax_highlighted_code">
<h3>
Anchors in syntax highlighted code
</h3>
<div id="anchor_test.anchors_in_syntax_highlighted_code">
<pre class="programlisting"><span class="keyword">int</span> <span id="s1"></span><span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span>
</pre>
</div>
</div>
<div id="anchor_test.nested_anchors">
<h3>
Nested anchors
</h3>
<div id="anchor_test.nested_anchors">
<div id="anchor_test.nested_anchors.t0" class="table">
<table>
<caption>Table with anchors</caption>
<thead>
<tr>
<th>
<p>
Heading
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
<span id="table1"></span>Cell 1
</p>
</td>
</tr>
<tr>
<td>
<p>
<span id="table2"></span>Cell 2
</p>
</td>
</tr>
<tr>
<td>
<p>
Cell 3<span id="table3"></span>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
|