Header Eval

edited June 2013 in Bug Reports
It seems like the header is ran through EVAL or something is happening because often when I try to put javascript in the header it tries to process or EVAL the javascript.. Now, if I put this code in the main.js file everything is fine.. but if I put the code in the script tag on the header page it crashes..

Is there a way to escape the EVAL???

Comments

  • edited 7:17PM
    Are you getting a Dwoo parsing error? If so, you can wrap your javascript in a literal tag:
    <literal><script>// code goes here.</script></literal>
    Dwoo will try and parse code that has {....}. To avoid it, you can add spaces after the opening bracket.
Sign In or Register to comment.