Closed vslinko closed 11 years ago
Temporary solution:
blade.Compiler.doctypes['xhtml'] = blade.Compiler.doctypes['xml'] + blade.Compiler.doctypes['1.1'];
I think the best solution is to allow multiple doctype definitions at the beginning of the template. I've never really worried about this since some browsers choke on the XML schema declaration. So, I typically just put doctype 1.1
at the beginning of the file. Thoughts?
Agree with multiple doctype definitions.
@vslinko - This will be added in the next week or so... before the Blade 3.0 stable release. Will that work, or do you need this feature sooner?
No I use temporary fix. Thank you.
This will be included in the next version push (probably 3.0.0beta6 or 3.0.0rc1)
Thank you!
XHTML1.1 document must contain two doctypes from predefined:
xml
and1.1
. But that code doesn't work:What better: add PR where
1.1
doctype containsxml
or discuss about allow multiply doctypes in one blade document?