-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
So I'm trying to make my websites more... differentiated in the code, so that no HTML file has PHP attached to it, and PHP files only have snippets. The way I'm setting it up right now is that I want to be able to add stylesheets to the <head> section, but when I try to use append() on an html5qp object, I get the error:
Fatal error: Uncaught exception 'QueryPath\ParseException' with message 'DOMDocumentFragment::appendXML(): Entity: line 1: parser error : Premature end of data in tag link line 1
Now, obviously, it's trying to parse a <link></link> pair, but stylesheet links don't have closing tags. Again, I'm using this on an html5qp object, so it shouldn't be trying to parse the XML tag variant, yet it still is.
Metadata
Metadata
Assignees
Labels
No labels