Skip to content

Certain tokens should be treated as text outside of attribute context. #12

Description

@Jakub21

In the following example,

$div {
    Hello world!
}

The exclamation mark is treated as a special operator. Exclamation marks are used for quick flags, only relevant when inside node attributes $div[!here]. Quick flag operators outside of the attribute context must be treated as text. Other tokens might have to be changed as well, maybe =?

Result (missing exclamation mark, currently requires /! to appear)

<div>
Hello world
</div>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions