angular-cn/aio/tools/transforms/angular-base-package/services
George Kalpakas a938849148 fix(docs-infra): apply custom `autoLinkCode` filters to single-word `<code>` elements (#41709)
Previously, the `autoLinkCode` Dgeni post-processor would not apply the
custom filters when matching the whole contents of a `<code>` element.
This meant that custom filters would not be applied to single-word
`<code>` elements.

You can see occurrences of this issue in the following sections of the
"Reactive forms" guide:
- [Creating nested form groups][1]
  (look for `street, city, state, and zip controls`)
- [Using the FormBuilder service to generate controls][2]
  (look for `group method`)

This commit fixes this by also applying the custom filters when
processing the whole contents of a `<code>` element.

This commit also updates the `filterPipes` custom filter to allow
matching a pipe's name in a single-word `<code>` element (where there is
no preceeding `|` character).

[1]: https://v10.angular.io/guide/reactive-forms#creating-nested-form-groups
[2]: https://v10.angular.io/guide/reactive-forms#using-the-formbuilder-service-to-generate-controls

PR Close #41709
2021-04-26 10:59:08 -07:00
..
auto-link-filters fix(docs-infra): apply custom `autoLinkCode` filters to single-word `<code>` elements (#41709) 2021-04-26 10:59:08 -07:00
copyFolder.js build(aio): move copyContentAssets processor to the base package 2017-05-01 15:52:51 -07:00
getImageDimensions.js build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00
getPreviousMajorVersions.js build(docs-infra): compute previous version list (#39689) 2020-11-18 09:13:20 -08:00
getPreviousMajorVersions.spec.js build: update several dependencies (#41434) 2021-04-12 16:46:29 -07:00