several bug fixes

This commit is contained in:
JT Smith 2003-10-20 01:12:57 +00:00
parent 41c798e528
commit e384d20d23
7 changed files with 16 additions and 6 deletions

View file

@ -161,6 +161,7 @@ sub drawTemplate {
$template =~ s/\n//g;
$template =~ s/\r//g;
$template =~ s/\'/\\\'/g;
$template = WebGUI::Macro::negate($template);
$template =~ s/\<script.*?\>.*?\<\/script\>//gi;
$template =~ s/\<table.*?\>/\<table cellspacing=0 cellpadding=3 width=100 height=80 border=1\>/ig;
$template =~ s/\<tmpl_var\s+page\.position(\d+)\>/$1/ig;