Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(linky): mark "target" param as optional in linky filter #16330

Merged
merged 1 commit into from
Nov 17, 2017

Conversation

kirkthompson
Copy link
Contributor

This argument is optional in practice, and it is not provided in many of the examples in the documentation.
Its optional presence is handled here:
https://github.com/angular/angular.js/blob/master/src/ngSanitize/filter/linky.js#L185.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs update

What is the current behavior? (You can also link to an open issue here)
The second argument to ngSanitize's "linky" filter is marked as non-optional, it is handled as optional and usage shows it as being optional.

What is the new behavior (if this is a feature change)?
ngSanitize's "linky" filter has it's second parameter marked as optional.

Does this PR introduce a breaking change?
No.

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Fix/Feature: Docs have been added/updated
  • Fix/Feature: Tests have been added; existing tests pass

Other information:

This argument is optional in practice, and it is not provided in many of the examples in the
documentation. Its optional presence is handled here:
https://github.com/angular/angular.js/blob/master/src/ngSanitize/filter/linky.js#L185.
@Narretz Narretz merged commit 873e263 into angular:master Nov 17, 2017
Narretz pushed a commit that referenced this pull request Nov 17, 2017
This argument is optional in practice, and it is not provided in many of the examples in the
documentation. Its optional presence is handled here:
https://github.com/angular/angular.js/blob/f876ab71913e17e9126baad19ab795f28b61bfe6/src/ngSanitize/filter/linky.js#L185

Closes #16330
@kirkthompson kirkthompson deleted the linky-doc branch November 17, 2017 17:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants