Warning for text outside a tag after {% extends %} tag

That’s this thread: Required template blocks


I didn’t imagine this ticket turning up so many edge cases. I am fine with closing it.

I didn’t think that folks would use HTML comments like this, but it makes sense. I can imagine using HTML syntax highlighting and pressing the “comment” shortcut and inserting <!--, and we probably shouldn’t churn things in that case.

I imagine that a lint rule could be a way forward here, say if we add that to Djade.

7 Likes