21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1675 Views |
-
Requirements and HTML5 <header tag

25 May 2010 at 6:02am Last edited: 25 May 2010 6:07am
Hi everyone,
I've just built my first HTML5 front-end and am bolting it on to SS2.4. I noticed that the required JS and CSS is written twice even though I have
Requirements::set_write_js_to_body(false);
in my _config.php
I have a suspicion that it's because my header is wrapped in the <header> tag.
Has anyone come across this before?
Thanks!
Wilson -
Re: Requirements and HTML5 <header tag

25 May 2010 at 6:17am
Looks like it 688 and 689 in Requirements.php. I'll see if this bug has been logged.
-
Re: Requirements and HTML5 <header tag

25 May 2010 at 11:28pm
Good point. I think it appends it to </head rather than </head> so </head will match both your elements. Should be a simple fix for the Requirements class to use </head> rather than </head OR just use the first </head.
| 1675 Views | ||
|
Page:
1
|
Go to Top |


