Skip to content

Commit

Permalink
Fix for DFL-2882, script syntax error load dragonfly in dragonfly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris K committed Mar 5, 2012
1 parent 212bdda commit 70ff160
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/syntaxhighlight/js/tokenizer.js
Expand Up @@ -867,7 +867,9 @@ cls.SimpleJSParser.prototype = new function()
{ {
if(__parse_error_first_token) if(__parse_error_first_token)
{ {
__line = "<div class='error-description'>" + __parse_error_description + "</div>" + __line = "<div class='error-description'>" +
helpers.escapeTextHtml(__parse_error_description) +
"</div>" +
"<span class='not-error'>" + __line + "</span>" + "<span class='not-error'>" + __line + "</span>" +
"<span class='first-error'>" + __buffer + "</span>"; "<span class='first-error'>" + __buffer + "</span>";
__parse_error_first_token = false; __parse_error_first_token = false;
Expand Down

0 comments on commit 70ff160

Please sign in to comment.