[SMARTY] {strip} smashes DOCTYPE

Iavor Raytchev <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.