Skip to content

Boilerplate content can include HTML, but no attributes #145

Description

@brucknerite

When boilerplate text containing HTML is used, attribute quotes are escaped. On final content generation, escaped quotes appear as extra content for attributes, thus breaking the intended boilerplate.

For example, this boilerplate code:

<span class="warning">Warning</span>

Gets saved as

<span class=\"warning\">Warning</span>

Which is then rendered as

<span class="\"warning\"">Warning</span>

Therefore breaking the intended CSS class assignment.

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