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

middleware messes up link and meta elements in head #28

Open
beda42 opened this issue Jun 26, 2018 · 0 comments
Open

middleware messes up link and meta elements in head #28

beda42 opened this issue Jun 26, 2018 · 0 comments

Comments

@beda42
Copy link

beda42 commented Jun 26, 2018

Hi,
I found out that if link and meta elements in head are not closed (like this ), using the LiveReloadScript middleware will close them for me ().

What is worse, if some of them are already closed, then the rest are not closed by the / before the end > (), but a closing tag is created somewhere further down the head element, which messes things up completely. I suppose that the HTML is mangled by beautifulsoup when the script is injected.

Cheers
Beda

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

1 participant