atom / highlights

Syntax highlighter
https://atom.github.io/highlights
MIT License
530 stars 54 forks source link

CSS Namespace issue #2

Closed danfuzz closed 10 years ago

danfuzz commented 10 years ago

TLDR: Atom has a handful of internally-defined CSS style names such as close and label which end up conflicting with styles generated for the purposes of syntax highlighting.

I reported the issue on the forum, and another person also ran across it:

Is this considered to be a bona fide problem? If so, maybe this package is where at least part of the fix should be.

kevinsawicki commented 10 years ago

This library isn't actually used by Atom, it just generates similar HTML to how the EditorView widget does in Atom.

I'll need to consider how to handle these cases in Atom so that no editor text ever has unintended styles applied from the other stylesheets.

danfuzz commented 10 years ago

Ah, sorry for my confusion. In any case, I'd appreciate a fix; Thanks!

kevinsawicki commented 10 years ago

I've opened an issue for this on the main Atom repo, thanks.

danfuzz commented 10 years ago

Any news on this? (Looking forward to the source becoming more open…)