Skip to content

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

Open
@SachaG

Description

@SachaG

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?

Activity

gadicc

gadicc commented on May 17, 2016

@gadicc
Contributor

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

Floriferous commented on Aug 24, 2018

@Floriferous

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @SachaG@gadicc@Floriferous

        Issue actions

          Inject.rawHead injects at the end of <body> tag · Issue #22 · meteorhacks/meteor-inject-initial