[TYPO3-english] 2 blank lines before tag "DOCTYPE"

Bjoern Pedersen bjoern.pedersen at frm2.tum.de
Mon May 10 13:47:55 CEST 2010


Am 10.05.2010 13:34, schrieb Gregory Loichot:
> Yep, that correct the bug !
> Thanks.
> 
> N.B. : is there a reason ?
> 
> Le 10.05.2010 11:25, Björn Pedersen a écrit :
>> Am 10.05.2010 10:50, schrieb Gregory Loichot:
>>> Hello,
>>>
>>> On each page of a typo3 4.2.10 website, I have 2 blank lines before tag
>>> DOCTYPE. So generate HTML looks like :
>>>
>>> '
>>>
>>>
>>> <!DOCTYPE html
>>>       PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>>> '
>>>
>>>
>>> Do you have any idea why ? How to remove those 2 blank lines (it makes
>>> error in XML RSS feeds)
>>>
>>> Thanks
>>
>> look out for blank lines at the start /end of your php-files (
>> typo3conf/localconf.php and in extensions(some are known for  that kind
>> of problem.))
>>
>> Björn
>>
> 

Yes, blank lines (or actually everything outside of <php> </php> tags)
is written verbatim to the output in the order of calling the files.

Björn


More information about the TYPO3-english mailing list