Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upclosed link tag in index.html #16965
Conversation
extractCss adds unclosed link tag, breaks XHTML index pages. Fixes #16964
|
@dgp1130 Should I close this? |
|
Sorry @sacgrover, looks like this PR fell through the cracks a bit. @clydin, @alan-agius4, can one of you take a look at this? I'm thinking the fix should probably happen with how the styles are generated rather than a regex replacement afterwards. I'm not quite familiar enough to know exactly where this fix should happen though. |
|
Hi @sacgrover, thanks for the pr. I think you are trying to fix a real issue but, can we please do this only as an option for xhtml deployments? Doing this by default (for htnl) doesn't make sense, confuses people that don't know when the tags must be closed and when they don't have to be, and only bloats the payload very slightly but in the critical path. I don't know how to implement the opt in, other cli folks should chime in on that, but it would not be too crazy to add --xhtml support to |
|
@IgorMinar, I disagree on the |
|
This PR is blocked on supporting XHTML in FW angular/angular#37779. We'll want to support it there more completely before we add support to the CLI as well, or else we'll just be whack-a-mole-ing bugs filed by users for all the edge cases missed because FW doesn't fully support it. |
Fixes #16964