Debian Codegraph @

tests/checker/data/urlencoding_anchor.html

raw
1 <!-- targets -->
2 <a name="good">Good target</a>
3 <a name="with_pipes_|_and_parentheses_(and—em-dashes)">Needs-encoded target #1</a>
4 <a name="another_with_pipes_|_and_parentheses_(and—em-dashes)">Needs-encoded target #2</a>
5 <a name="partially_|_(encoded_em—dash)">Target for partially-encoded testing</a>
6
7 <!-- simple anchors -->
8 <a href="urlencoding_anchor.html">No anchor, will not be tested</a>
9 <a href="urlencoding_anchor.html#good">Good anchor</a>
10 <a href="urlencoding_anchor.html#bad">Bad anchor</a>
11
12 <!-- different encodings of the same complex anchor -->
13 <a href="urlencoding_anchor.html#with_pipes_|_and_parentheses_(and—em-dashes)">Non-encoded anchor</a>
14 <a href="urlencoding_anchor.html#with_pipes_|_and_parentheses_%28and%E2%80%94em-dashes%29">Partially-encoded version of the same anchor</a>
15 <a href="urlencoding_anchor.html#with_pipes_%7C_and_parentheses_%28and%E2%80%94em-dashes%29">Fully-encoded version of the same anchor</a>
16
17 <!-- just another complex anchor -->
18 <a href="urlencoding_anchor.html#another_with_pipes_%7C_and_parentheses_%28and%E2%80%94em-dashes%29">Distinct encoded anchor</a>
19
20 <!-- bad anchor, encoded two ways -->
21 <a href="urlencoding_anchor.html#bad_|_%28and%E2%80%94em-dashes%29">Bad encoded anchor, partially encoded</a>
22 <a href="urlencoding_anchor.html#bad_%7C_%28and%E2%80%94em-dashes%29">Bad encoded anchor, fully encoded</a>
23
24 <!-- stand-alone test for partially-encoded anchor -->
25 <a href="urlencoding_anchor.html#partially_%7C_(encoded_em—dash)">Partially-encoded anchor, for testing</a>