-
Notifications
You must be signed in to change notification settings - Fork 482
fix(node-document): create conditional for non html component #614
Conversation
So is this one not helpful to fix the bigger issue (with Core handling the head title meta properties itself?) |
|
||
|
||
/* | ||
// Build entire doc <!doctype><html> etc | ||
if (documentHtml.indexOf('<html>') > -1 && documentHtml.indexOf('</html>') > -1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is still a problem with html tags that have attributes like <html ⚡>
or <html lang="en">
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally right. Should I clean it up to test for just <html, maybe even look for doctype as well? @gdi2290
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use a regexp looking for any case of doctype
might be supported in ng4 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes #347