{strip} smashes DOCTYPE

From: Date: Thu, 15 Sep 2005 01:00:17 +0000
Subject: {strip} smashes DOCTYPE
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13039@lists.php.net to get a copy of this message
I just noticed that if I have DOCTYPE, for example - <!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
{strip} smashes it so it looks like that - <!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ('html' is glued to 'PUBLIC' and the closing quotation mark after 'EN' is glued to the opening one after that) Which obviously confuses the w3.org validator. In the same time there is no damage within the other HTML tags. Is this a bug or I am doing something wrong? Iv

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