Listing Test 1
This is a regression test to see if the parser handles the <listing>
tag correctly.
Simple listing
Now follows a short listing, after the listing the text
"End of listing" should be visible.
//----------------------------------------------------------------------------
//
// KDE HTML Widget -- Debug functions
#include
#include
#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
}
End of listing.
Listing with entities
Now follows a short listing, the listing shoul read
"a = b&"
a = b&