Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Only inject JS into the first instance of <head>.#65

Closed
trevorsmith wants to merge 1 commit into
johnbintz:masterfrom
trevorsmith:master
Closed

Only inject JS into the first instance of <head>.#65
trevorsmith wants to merge 1 commit into
johnbintz:masterfrom
trevorsmith:master

Conversation

@trevorsmith

Copy link
Copy Markdown

rack-livereload injects code into every instance of <head> encountered, instead of just the first. This causes issues with inline Javascript containing markup.

<script>
var html="<head></head>";
</script>

@trevorsmith

Copy link
Copy Markdown
Author

Oops, this is a duplicate of #62. Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant