i'm adding javascript with
drupal_add_js()
but drupal cuts the script attribute "text/javascript" or just forgot it. It just adds the
<script></script>
tags. Can i add the script tags? Its w3c standard...;-P
i'm adding javascript with
but drupal cuts the script attribute "text/javascript" or just forgot it. It just adds the
tags. Can i add the script tags? Its w3c standard...;-P |
|||
|
The default I suggest looking through your theme and/or base theme for this theme function. You could also implement your own version in your theme, and put back in the If you are using any of the modules that "cleanup" HTML output, then I would try disabling them. I have seen them do really weird things on pages. |
|||
On the off-chance that you're using an HTML5
Emphasis mine Source: HTML 5.1 Nightly - 4.3 Scripting |
|||
|