bug with DW CS4 template and HTML5?
I work with CS4 template and all is ok, but when try to use it with html5 the template delete all php code above html declaration in all file. Example:
so work well in my examplefile.php: when updating template the file are updated well.
<?php require_once('../language/myfile.php'); ?>
<?php require_once('../include/myfile2.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/2011.dwt.php" codeOutsideHTMLIsLocked="false" -->
But if I change
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> to
<!doctype html>
when updating examplefile.php the file is so:
<!-- InstanceBegin template="/Templates/2011.dwt.php" codeOutsideHTMLIsLocked="false" -->
<!doctype html>
and all above is deteled!
I think this is a bug, nobody know a solution?


