⬅︎ Back to DOCTYPE in PageTemplates with METAL
Thanks for a great bit of advice! I find that some parsers (notably W3C's validator) get a little confused by the empty 1st line that this results in. I fixed it by doing<metal:block define-macro="foobar"><?xml version="1.0" encoding="utf-8"?> ...etcinstead -- no newline between the end of metal:block and the beginning of the xml processing directive.
Comment
Thanks for a great bit of advice! I find that some parsers (notably W3C's validator) get a little confused by the empty 1st line that this results in. I fixed it by doing
<metal:block define-macro="foobar"
><?xml version="1.0" encoding="utf-8"?>
...etc
instead -- no newline between the end of metal:block and the beginning of the xml processing directive.