Skip to content

Commit 2ed7532

Browse files
gkalpakAndrewKushnir
authored andcommitted
docs: fix ellipsis in code-snippet in creating-libraries guide (angular#45820)
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 angular#45820
1 parent dbc0dab commit 2ed7532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aio/content/examples/angular-linker-plugin/webpack.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// #docplaster &hellip;
1+
// #docplaster ...
22
// #docregion webpack-config
33
import linkerPlugin from '@angular/compiler-cli/linker/babel';
44

0 commit comments

Comments
 (0)