This patch changes the default comment wrappers for javascript entries to be xhtml compliant as as far as I know is the most correct way to comment out Java Script code.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | common.inc-D6.patch | 569 bytes | strategictech |
| #1 | common.inc-D6.patch | 643 bytes | strategictech |
| common.inc-D6.patch | 127.03 KB | strategictech |
Comments
Comment #1
strategictech commentedhopfully corrected Diff/Patch
Comment #2
strategictech commentedok for real this time sorry bout all the mistakes...
Comment #3
ohnobinki commentedWhat exactly are these patches supposed to change?
Comment #4
ohnobinki commentedtag
Comment #5
damien tournoud commentedThe way we output javascript is perfectly XHTML compliant.
On the other hand, this is very much broken:
... as it puts all the script in an HTML comment :)
Comment #6
strategictech commentedOk so how about this... which works, validates, and does not break all of the javascript on my sites using custom built themes?