<pre> trap for snippet
pepelsbey opened this issue · 1 comments
pepelsbey commented
For some reason live reload script snippet is appearing inside <pre>
element if you have <
plus \n
there and don’t have optional <body>
element. I would expect it to appear right after <p>bar</p>
instead. This document is completely valid:
<!DOCTYPE html>
<title>Title</title>
<p>foo</p>
<pre><
</pre>
<p>bar</p>
It wouldn’t be a problem if it wasn’t <pre>
element: I’m getting an extra line inside it because of misplaced snippet.
I’m using v0.4.0 as part of grunt-contrib-connect v0.8.0.
HiroAgustin commented
This is solved by PR #50, currently on v0.5.0.
grunt-contrib-connect will apply this update on v0.9.0.