Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject.rawHead injects at the end of <body> tag #22

Open
SachaG opened this issue May 17, 2016 · 3 comments
Open

Inject.rawHead injects at the end of <body> tag #22

SachaG opened this issue May 17, 2016 · 3 comments

Comments

@SachaG
Copy link

SachaG commented May 17, 2016

This is a weird issue: my code gets injected in the wrong place, at the end of <body> instead of the end of <head>.

This also happens with just having code in a plain HTML file and using the static-html package so it might not be directly related to inject-initial. But I thought maybe you'd have an idea of what's going on?

@gadicc
Copy link
Contributor

gadicc commented May 17, 2016

Hey, I've heard of a few issues in static-htmll generally. I assumed they were all fixed now but haven't kept up-to-date since I don't use it.

If you can provide a code sample or small reproduction, without static-html, I'd be happy to take a look.

The regexp we use places heads/bodies directly after the <head> and <body> tags.

@Floriferous
Copy link

Floriferous commented Aug 24, 2018

I'm seeing this plus another issue (using static-html):

The loader is placed in my body and it takes all of my initial head (from client/main.html) and moves it to my body as well. So a couple things don't work anymore, like my favicon.

Should an issue be created on the meteor repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@SachaG @gadicc @Floriferous and others