"language" attrikbute in <script>

You need to be logged in to post messages in the forums. New users may register here.

Peter Putzer

Member since:
09 January 2008

Posts: 15

Friday 28 November 2008 1:27:29 am

Hi!

XHTML 1.0 Strict doesn't allow the "language" attribute in the "script" tag. I've patched ezpacker.php to not generate that attribute when the "language" parameter is set to false. Could you integrate that into the SVN version? I don't have the patch here, but it really isn't anything more than a ternary operator checking the $lang value and omitting the "language=$lang" part when $lang is false.

Greetings,
Peter

Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at

Up

André R.

Member since:
14 January 2008

Posts: 145

Sunday 14 December 2008 8:36:12 am

Sorry for late response but thanks, added this in rev 37 when I got the notification for this.

eZ Online Editor 5.1: http://projects.ez.no/ezoe || eZJSCore 1.1(Ajax): http://projects.ez.no/ezjscore || eZSearch++(better search results): http://projects.ez.no/ezsearchpro
@: http://twitter.com/andrerom

Up

You need to be logged in to post messages in the forums. New users may register here.