We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d3a802 commit 97c0793Copy full SHA for 97c0793
src/syntaxhighlight/js/tokenizer.js
@@ -774,7 +774,7 @@ cls.SimpleJSParser.prototype = new function()
774
// Opera 12 will no longer have that limit, so this is just temporary.
775
if (__char_count > __max_line_chars)
776
{
777
- __buffer = __buffer.slice(0, __buffer.length - (__char_count - __max_line_chars));
+ __buffer = "";
778
__has_hit_max_line_chars = true;
779
}
780
switch (__type)
0 commit comments