8000 `target="_self"` is removed but it's needed for <iframe> · Issue #218 · wilsonzlin/minify-html · GitHub
[go: up one dir, main page]

Skip to content

target="_self" is removed but it's needed for <iframe> #218

Open

Description

@red-meadow

Hi!

target="_self" is always removed as a default value, but it may actually be needed inside an <iframe>, when combined with <base target="_parent"> (as in my case).

Maybe the library could provide an option, such as ignored_attributes, to allow users to retain specific attributes when necessary?

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

      0