File: expected-output

package info (click to toggle)
hlins 0.40-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 484 kB
  • sloc: ml: 1,215; makefile: 148; sh: 4
file content (47 lines) | stat: -rw-r--r-- 1,672 bytes parent folder | download | duplicates (6)
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
<html>
<head><title>Martin Scorsese</title></HEAD>

<body>

<h1>Test to use with the directors database</h1>

<h2>Testing protected contexts.</h2>

<h3>Title</h3>
There should be no link for <a href="hlins/scorsese">Martin Scorsese</a> in the title.

<h3>Code Environment</h3>
There is no link for <a href="hlins/kubrick">Stanley Kubrick</a> in the following:
<Code>Stanley Kubrick</code>

<h3>Kbd Environment</h3>
There is no link for <a href="hlins/renoir">Jean Renoir</a> in the following:
<kbd>Jean Renoir</KbD>

<h3>Div Environment</h3>
There should be a link for <a href="hlins/lang">Fritz Lang</a> in the following: <div
something><a href="hlins/lang">Fritz Lang</a></div> but not in the following: <div
nohlins>Fritz Lang</div>.

<h3>Anchors</h3> There should be a link for <a href="hlins/woo">John Woo</a> in the following:
<a name=woo><a href="hlins/woo">John Woo</a></a>. In the following there should be only a link
to <i>hongkong</i>: <a href=hongkong>John Woo</a>.

<h3>Inside Tags</h3>
No links should be inserted inside the attributes of tags:
<a href=John Woo>Bla</a>
<sometag John Woo>Bla</a>.

<h2>Testing different character representations</h2>
Different representatins of the character <b></b>
<table>
<tr><td>Normal characters <td><td><a href="hlins/truffaut">Franois Truffaut</a><br>
<tr><td>Character entity references <td><code>&ccdil;</code>
	<td><a href="hlins/truffaut">Franois Truffaut</a><br>
<tr><td>Decimal numerical reference<td><code>&amp;#231;</code>
	<td><a href="hlins/truffaut">Franois Truffaut</a><br>
<tr><td>Hexadecimal numerical reference<td><code>&amp;#xE7;</code>
	<td>Fran&#xE7;ois Truffaut<br>
</table> 
</body>
</html>