angular / angular

Deliver web apps with confidence 🚀
https://angular.dev
MIT License
94.71k stars 24.68k forks source link

[Path port] fix(compiler): add math elements to schema #55645

Closed crisbeto closed 2 weeks ago

crisbeto commented 2 weeks ago

Note: this is a patch port of the changes from #55631.

Fixes that we didn't have the MathML elements in the schema. Note that we can't discover which tag names are available by looking at globally-available classes, because all MathML elements are MathMLElement rather than something like SVGCircleElement. As such, I ended up having to hardcode the currently-available tags.

Fixes #55608.

crisbeto commented 2 weeks ago

Disabling PullApprove since this is just a cherry-pick of #55631 which was reviewed already.

AndrewKushnir commented 2 weeks ago

This PR was merged into the repository by commit c21b459ba6520fd5835e23800338ac9c997fee91.