FIXED? Highlight CSS color values is highlighting HTML entities
-
- Posts: 350
- Joined: 06 Jun 2012 11:08
FIXED? Highlight CSS color values is highlighting HTML entities
Hi Rickard, the function to highlight CSS colors is identifying HTML entities as color values, e.g. £
- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: Highlight CSS color values is highlighting HTML entities
Not sure I understand
HTML entities should not be used in CSS files, or in style sections. You should use \00a3 https://oinam.github.io/entities/.

Re: Highlight CSS color values is highlighting HTML entities
£ in HTML file is highlighted as an entity, but when you hover mouse cursor over it color tooltip is displayed.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
-
- Posts: 350
- Joined: 06 Jun 2012 11:08
Re: Highlight CSS color values is highlighting HTML entities
Yes, but if the # is preceded by an &, it's an entity, not a colour code.
- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: Highlight CSS color values is highlighting HTML entities
Maybe you could post an image showing the issue?
-
- Posts: 350
- Joined: 06 Jun 2012 11:08
Re: Highlight CSS color values is highlighting HTML entities
P.S. I know I should style this properly to achieve the spacing, don't judge me

- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: Highlight CSS color values is highlighting HTML entities
Made some changes and fixed a few issues with color value highlighting and color hints in v15.90.
Not sure it fixes this issue though, since I can't reproduce it. But I did notice some highlighting issues while testing.
Not sure it fixes this issue though, since I can't reproduce it. But I did notice some highlighting issues while testing.