mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
escapeCommentText matched each disallowed marker as a whole, so a marker that overlaps an already matched one was skipped by the scanner and left unescaped. Match the delimiter together with its context instead, which keeps the matched language identical for the existing cases.