You are here: {strip} smashes DOCTYPE « Smarty Templates Posts « IT news, forums, messages
{strip} smashes DOCTYPE

Posted by Iavor Raytchev on 09/15/05 04:00

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация