| Issue 4: | Javascript Snippets wrapped in HTML SCRIPT tags hides/destroys inner content of the <script> tags. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
What steps will reproduce the problem? 1. In your pre block have a <script> tag followed by javascript. What is the expected output? What do you see instead? Expect to see colorized HTML followed by colorized Javascript. Saw only the first script line, the rest of the block had been hidden/deleted in Firefox. What version of the product are you using? On what operating system? Win XP. |
||||||||||
,
Mar 23, 2007
Code which reproduces the problem...
<script type="text/javascript">
var savedTarget=null; // The target layer (effectively
vidPane)
var orgCursor=null; // The original mouse style so we
can restore it
var dragOK=false; // True if we're allowed to move
the element under mouse
var dragXoffset=0; // How much we've moved the
element on the horozontal
var dragYoffset=0; // How much we've moved the
element on the verticle
vidPaneID = document.getElementById('vidPane'); // Our movable layer
vidPaneID.style.top='75px'; // Starting location horozontal
vidPaneID.style.left='75px'; // Starting location verticle
<script>
|
|||||||||||
,
Mar 27, 2007
thanks for the example. Will fix.
Owner: mikesamuel
|
|||||||||||
,
Mar 29, 2007
The problem occurs because the last line is <script>, not </script>. I'm looking for </script> and not finding it. Will fix. |
|||||||||||
,
Apr 02, 2007
This was reproduced by http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html#issue4 and is now fixed http://google-code-prettify.googlecode.com/svn/trunk/CHANGES.html
Status: Fixed
|
|||||||||||
|
|
|||||||||||