qw0258 / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Octal and unicode characters should be in one color #300

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

<p>Octal: <code class="prettyprint">\012</code>
or Unicode: <code  class="prettyprint">\u00a</code>

What is the expected output?  What do you see instead?

I'd expect \012 and \u00a to be all the same color.
Instead, the \0 and \u are a different color from the 12 and 00a.

What version are you using?  On what browser?

I'm using http://google-code-prettify.googlecode.com/svn/loader/run_prettify.js
on Chrome 28.0.1500.71

Original issue reported on code.google.com by v...@google.com on 29 Jul 2013 at 10:05