mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cccaed0d3d
The tokenizer regex pattern `[^<]*` was consuming all non-`<` content
before custom HTML tags, causing lost content.
Changed to `\s*` which only allows leading whitespace, letting marked
properly tokenize preceding content.
(cherry picked from commit bc473cf60f)