[Pmwiki-users] [XHTML] My Experiment -- Preview.php required change
John Feezell
johnfeezell at 3wplace.com
Sat Jul 12 15:44:11 CDT 2003
I found that I needed to make the following change to preview.php to
correct a tag problem.
Original:
$PageHeaderFmt = "<h1>Preview \$PageName</h1><hr>";
$PageFooterFmt = "<hr><table border='0' cellspacing='0' cellpadding='0'
width='100%'>
Modified:
$PageHeaderFmt = "<h1>Preview \$PageName</h1><hr />";
$PageFooterFmt = "<hr /><table border='0' cellspacing='0' cellpadding='0'
width='100%'>
Change required: from <hr> to <hr />
my input.php setup for XHTML
$HTMLDoctypeFmt = '<?xml version="1.0" encoding="iso-8859-1"
standalone="no" ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>';
$HTTPHeaders[] = "Content-Type: text/xml; charset=iso-8859-1";
More information about the pmwiki-users
mailing list