blob: a1cdaec814caf8f26c10862cb5260a9c6969a284 (
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
|
<html> <head> <title>Listing Test 1</title>
<style>
html { background-attachment: fixed;
background-image: url(konqi.gif);
}
body { color: red; }
</style>
</head>
<body>
<H1>Listing Test 1</H1>
This is a regression test to see if the parser handles the <listing>
tag correctly.<BR>
<H2>Simple listing</H2>
Now follows a short listing, after the listing the text
"End of listing" should be visible.
<listing>
//----------------------------------------------------------------------------
//
// KDE HTML Widget -- Debug functions
#include <stdio.h>
#include <stdarg.h>
#include "tdehtml.h"
#ifdef MARTINSDEBUG
void debugM( const char *msg, ...)
{
va_list ap;
va_start( ap, msg ); // use variable arg list
vfprintf( stdout, msg, ap );
va_end( ap );
#else
void debugM(const char *, ... )
{
#endif
}
</listing>
End of listing.
<H2>Listing with entities</H2>
Now follows a short listing, the listing shoul read
"a = b&amp;"<BR>
<listing>
a = b&
</listing>
</BODY>
</HTML>
|