Skip to content

Breaks if constructing HTML content dynamically #21

@KingMob

Description

@KingMob

In short, it doesn't stop at the first <head> it finds, so in my code to construct an HTML page to insert as the content of an iframe, ring-refresh dynamically altered the <head> part.

Fix is probably to change str/replace to str/replace-first in the add-script fn.

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