Page 1 of 1

[SOLVED] 1.11 breaking <head profile="a profile">

Posted: Sat Aug 04, 2012 7:37 pm
by cypher6x
I have installed version 1.11 and I currently have a profile on the <head> element.

Code: Select all

<head profile="http://dublincore.org/documents/dcq-html/">
This works just fine in previous versions but since upgrading everything above the <head> element is not rendered at all. If I remove the profile attribute everything works just fine.

I suspect this is probably due to the new smarty regex looking for a <head> rather than a <head\b[^>]*>.

Anyone else seen this?

Re: 1.11 breaking <head profile="a profile">

Posted: Sun Aug 05, 2012 7:25 pm
by Dr.CSS
Maybe your calling the wrong thing, no .html or any extension, or calling it the wrong way...

http://reference.sitepoint.com/html/head/profile

Re: 1.11 breaking <head profile="a profile">

Posted: Tue Aug 07, 2012 2:16 pm
by cypher6x
Dr.CSS wrote:Maybe your calling the wrong thing, no .html or any extension, or calling it the wrong way...

http://reference.sitepoint.com/html/head/profile
I am not sure I understand what you mean??

The syntax I have used is in my original post. What wrong thing am I calling? No .html? How am I calling it in the wrong way?

Please do elaborate. Or even better, add it to your cmsms install and see what happens.

[SOLVED] 1.11 breaking <head profile="a profile">

Posted: Mon Sep 24, 2012 8:00 pm
by cypher6x
The release notes in 1.11.2 states
- Minor adjustment to page template parsing to detect <head instead of <head>
I have tested it and it works just fine.

Thank you for fixing the bug.