jafartke / google-code-prettify

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

CSS ID treated as colour code #262

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
<pre class="prettyprint linenums:0 lang-css">
    section > article#featured { border: 1px solid #bbb; }
</pre>

Prettyprint treates #fea as a colour code, so formats it differently.

Original issue reported on code.google.com by jdonnell...@gmail.com on 29 Jan 2013 at 9:23

Attachments:

GoogleCodeExporter commented 8 years ago
Good catch.  Unfortunately, nothing working purely at a token level (without 
matching {...} brackets) is going to distinguish tokens in a selector from 
those outside, so something like

    p #facade , p #beaded , p #decade

is not fixable.

I will fix to make sure though that were the word continues, it isn't broken.

Original comment by mikesamuel@gmail.com on 4 Feb 2013 at 11:05

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r231.

Original comment by mikesamuel@gmail.com on 4 Feb 2013 at 11:12

GoogleCodeExporter commented 8 years ago
Fixed at r231 which will be included in an upcoming release.

Original comment by mikesamuel@gmail.com on 4 Feb 2013 at 11:13