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 upCompiler XHTML support #37779
Open
Compiler XHTML support #37779
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Affected Package
The issue is caused by package @angular/compiler
Is this a regression?
Sort of. XHTML did somewhat work before and we are considering it a regression in the CLI. Though I doubt this was ever supported in the Ivy compiler, it may have sort-of worked in View Engine.
Description
The Angular compiler should be capable of outputting XHTML for SSR and app-shell use cases. See #16965 and this Slack thread for more discussion.
Anything else relevant?
Some serving tools (such as Spring in particular I think) want XHTML-compliant content and throw errors if not the case. The main motivation for this is to be compatible with such tools.