Hi all,
I have a problem with HTML:Template and I was wondering if anyone else had the same problem.
When I use a perl script (through mod_perl / Apache::Registry) and try to output the resulting page, in some scripts, (and sometimes) IF i don't have an empty line at the begginning, the lines up to the first include aren't sent to the browser. Unfortunately, the lines up to the first include are necessary:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<tmpl_include "html/header.html">
I wouldn't mind letting a blank line at the top of each template, if I knew that it's consistent. Unfortunately, it's not (as said earlier, sometimes it works, sometimes it doesn't).
Any ideas anybody?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I have a problem with HTML:Template and I was wondering if anyone else had the same problem.
When I use a perl script (through mod_perl / Apache::Registry) and try to output the resulting page, in some scripts, (and sometimes) IF i don't have an empty line at the begginning, the lines up to the first include aren't sent to the browser. Unfortunately, the lines up to the first include are necessary:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<tmpl_include "html/header.html">
I wouldn't mind letting a blank line at the top of each template, if I knew that it's consistent. Unfortunately, it's not (as said earlier, sometimes it works, sometimes it doesn't).
Any ideas anybody?
Have no idea... But I will check. Which version do u use?