mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
`docs-card` interpolated `token.title` straight into the `<h3>`, so markdown in a card title was emitted as literal text. On angular.dev the migrations overview renders: <h3>New `input()` API</h3> <h3>New `output()` function</h3> Lex the title into `titleTokens` while tokenizing and run them through `parser.parseInline` when rendering, with `disableAutoLinking` set for the duration so `input()` becomes inline code rather than an API link, matching what #66582 does for headings. Two cards in reference/migrations/overview.md are affected. One other title containing `&` is now escaped to `&`, which renders the same and is the correct HTML.