Skip to content

Passing arbitrary data to href attributes #654

@btpy

Description

@btpy

Hi!
when i'm defining and href attribute with square brackets, e.g.

<a style="color: #ffffff; -ko-color: @[Color.readability(linkStyle.color, backgroundColor) gt 2 ? linkStyle.color : (Color.isReadable('#ffffff', backgroundColor) ? '#ffffff' : '#000000')]; text-decoration: underline; -ko-color: @linkStyle.color; -ko-text-decoration: @linkStyle.decoration" href="[unsubscribe_link]" data-ko-editable="disiscrivitiText">Unsubscribe</a>

the href attribute stays the same, but if I change brackets to curly href is mutated to:

https://domain/path/{unsubscribe_link}

Is it possible that href="{unsubscribe_link}" stays the same?
Thank you

Metadata

Metadata

Assignees

No one assigned

    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