Skip to content

Cannot disable escaping of & in an attribute value #233

@karollewandowski

Description

@karollewandowski

I have a case where I pass an already escaped value to the attribute:

attributes["data-test"] = "Test: …"

I want it to be rendered as:

data-test="Test: …"

It is rendered as:

data-test="Test: …"

I tried:

attributes["data-test"] = "Test: \\…"

but it becomes:

data-test="Test: \…"

The context is the a tag.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions