angular/aio/tools/transforms/angular-base-package
George Kalpakas a26bbf78bc fix(docs-infra): apply custom autoLinkCode filters to single-word <code> elements (#41709) (#41854)
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

PR Close #41854
2021-04-28 09:13:42 -07:00
..
inline-tag-defs/custom-search-defs build(docs-infra): remove {@searchKeywords} from content when rendering (#37132) 2020-05-15 10:04:45 -07:00
post-processors fix(docs-infra): apply custom autoLinkCode filters to single-word <code> elements (#41709) (#41854) 2021-04-28 09:13:42 -07:00
processors build(docs-infra): add path disambiguation (#41788) 2021-04-26 12:12:01 -07:00
readers build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
rendering build(docs-infra): include directives etc in class descendants lists (#25768) 2018-10-01 09:36:33 -07:00
services fix(docs-infra): apply custom autoLinkCode filters to single-word <code> elements (#41709) (#41854) 2021-04-28 09:13:42 -07:00
ignore-words.json refactor(docs-infra): include more info in search index data (#41368) 2021-04-01 12:02:38 -07:00
index.js build(docs-infra): add path disambiguation (#41788) 2021-04-26 12:12:01 -07:00