File indexing completed on 2024-05-12 15:40:06

0001 <html> <head> <title>Listing Test 1</title> 
0002 <style>
0003 html { background-attachment: fixed;
0004     background-image: url(konqi.gif);
0005 }
0006 body { color: red; }
0007 </style>
0008 </head>
0009 <body>
0010 <H1>Listing Test 1</H1>
0011 This is a regression test to see if the parser handles the &lt;listing&gt;
0012 tag correctly.<BR>
0013 <H2>Simple listing</H2>
0014 Now follows a short listing, after the listing the text
0015 "End of listing" should be visible.
0016 <listing>
0017 //----------------------------------------------------------------------------
0018 //
0019 // KDE HTML Widget -- Debug functions
0020 
0021 #include <stdio.h>
0022 #include <stdarg.h>
0023 #include "khtml.h"
0024 
0025 #ifdef MARTINSDEBUG
0026 void debugM( const char *msg, ...)
0027 {
0028     va_list ap;
0029     va_start( ap, msg );                // use variable arg list
0030     vfprintf( stdout, msg, ap );
0031     va_end( ap );
0032 #else
0033 void debugM(const char *, ... )
0034 {
0035 #endif
0036 }
0037 </listing>
0038 End of listing.
0039 <H2>Listing with entities</H2>
0040 Now follows a short listing, the listing shoul read
0041 "a = b&amp;amp;"<BR>
0042 <listing>
0043 a = b&amp;
0044 </listing>
0045 
0046 </BODY>
0047 </HTML>