• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.9
    • 2.0
    • Plugin core
    • None

      When having two inline scripts in a row, only firefox executes the second one.
      This is what is seralized

      <script type="text/javascript"><!--
       // script number one - executed normally
      --></script><script type="text/javascript"><!--
       // script number two - not executed by many browsers
      --></script>
      

      Here is my current workaround

      <script type="text/javascript"><!--
       // script number one - executed normally
      --></script><!-- A separator between the scripts --><script type="text/javascript"><!--
       // script number two - executed normally
      --></script>
      

      I also noticed that normally we should js comment the closing comment

      <script type="text/javascript"><!--
          ....   
      // --></script>
      

      Maybe, correcting this will correct the first pb ?
      If not, we should, maybe add a return cariage after a closing script.

            Unassigned Unassigned
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: