django-livereload-server
django-livereload-server copied to clipboard
middleware messes up link and meta elements in head
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