Skip to content

fix: escape adjacent fallback raw-content text nodes as one run - #41

Open
SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/escape-text-nodes
Open

fix: escape adjacent fallback raw-content text nodes as one run#41
SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/escape-text-nodes

Conversation

@SkyZeroZx

Copy link
Copy Markdown

Escape adjacent Text and CDATA children together so closing tags and comment delimiters split across nodes cannot bypass fallback raw-content escaping. Character-data runs are the maximal spans that can reconstruct these tokens because every other serialized node starts with <.

Fixes angular/angular#70462

Escape adjacent Text and CDATA children together so closing tags and comment delimiters split across nodes cannot bypass fallback raw-content escaping. Character-data runs are the maximal spans that can reconstruct these tokens because every other serialized node starts with `<`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Angular SSR can reconstruct fallback RAWTEXT closing tags across Text nodes

1 participant