mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2ed75324f3
When hard-coding content in a `<code-example>` tag inside an `.md` file, the content is treated as HTML by the Markdown processor and thus any characters with special meaning in HTML have to be encoded (or replaced with HTML entities). However, the content that is embedded into `<code-example>` tags via docregions is treated as text (since it is not parsed by the Markdown processor) and thus should not have encoded characters or HTML entities. PR Close #45820
560 B
560 B