Skip to content

Brittle CSS rules #142

Description

@korny

Color style rules can conflict, eg. when you have two kinds defining a .content sub-token. The issue appeared in the Lua scanner: #22 (comment)

To fix this, we would need to make the CSS selectors more strict (using the > operator, for example), but this has to be tested and supported by the CSS mini-interpreter in Encoders::HTML::CSS#get_style_for_css_classes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions