What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

This question already has an answer here:

To illustrate, multiple non-script tags works fine:

<element name="value"></element>
<element name="value"></element>

But multiple script tags bugs the highlighter, see the pattern:

<script name="value"></script>
<script name="value"></script>

and

<script name="value"></script>
<script name="value"></script>
<script name="value"></script>

and

<script name="value"></script>
<script name="value"></script>
<script name="value"></script>
<script name="value"></script>

here's a real world example:

<!doctype html>
<html lang="en">
    <head>
        <script type="text/javascript" src="http://example.com/one.js"></script>
        <script type="text/javascript" src="http://example.com/two.js"></script>
        <script type="text/javascript">
            $(document).ready(function() {
                alert('waa');
            });
        </script>
    </head>
    <body></body>
</html>

Look like a bug in some sort of XSS filter, if any.

share|improve this question

marked as duplicate by ben is uǝq backwards, ChrisF Jun 16 '13 at 10:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 4 down vote accepted

This has been fixed at revision 92: http://code.google.com/p/google-code-prettify/source/detail?r=92

share|improve this answer
    
Yes, the upgrade has happened. The scripts looks better now :) Thanks. –  BalusC Feb 3 '10 at 18:02

Not the answer you're looking for? Browse other questions tagged .