From 884f5ecdce7e25348172882c9f386cfc4b3832e7 Mon Sep 17 00:00:00 2001 From: Kirk Thompson Date: Wed, 15 Nov 2017 10:47:29 -0500 Subject: [PATCH] docs(linky): mark "target" param as optional in linky filter 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. --- src/ngSanitize/filter/linky.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngSanitize/filter/linky.js b/src/ngSanitize/filter/linky.js index 34881c847729..564799d59e4b 100644 --- a/src/ngSanitize/filter/linky.js +++ b/src/ngSanitize/filter/linky.js @@ -12,7 +12,7 @@ * Requires the {@link ngSanitize `ngSanitize`} module to be installed. * * @param {string} text Input text. - * @param {string} target Window (`_blank|_self|_parent|_top`) or named frame to open links in. + * @param {string} [target] Window (`_blank|_self|_parent|_top`) or named frame to open links in. * @param {object|function(url)} [attributes] Add custom attributes to the link element. * * Can be one of: