Re: [SMARTY] first line empty

From: Date: Tue, 14 Jan 2003 04:47:24 +0000
Subject: Re: [SMARTY] first line empty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7159@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 13 January 2003 22:13, Pupeno wrote: > I don't know why, in my pages, the first line, is empty, which turns my > pages in invalid XML. I'm using Smarty but I don't know where to start > traking down this problem. Any advice ? > Thanks I removed almost everything, prefilters, almost all the contents, the strip, etc, I reduced the compiled file by removing the initial comment to something like this: <?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->_tpl_vars['lang']; ?> "> <head> and I'm still getting an empty line at the beggining. should I consider this a Smarty bug ? or I'm doing something wrong ? Thanks. - -- Pupeno: pupeno@pupeno.com http://www.pupeno.com - --- Help the hungry children of Argentina, please go to (and make it your homepage): http://www.porloschicos.com/servlet/PorLosChicos?comando=donar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+I5ZeLr8z5XzmSDQRAtLqAJ9EheYO+3yb5NN+6D7VMeSYmIKlZACfZ+nR J3cNclFzpY8CNIvbDRMDXr4= =1p3s -----END PGP SIGNATURE-----

« previous php.smarty.general (#7159) next »