diff options
Diffstat (limited to 'src/filters.js')
| -rw-r--r-- | src/filters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters.js b/src/filters.js index f636b242..67e30046 100644 --- a/src/filters.js +++ b/src/filters.js @@ -610,7 +610,7 @@ angularFilter.linky = function(text) { var writer = htmlSanitizeWriter(html); var url; var i; - while (match = raw.match(LINKY_URL_REGEXP)) { + while ((match = raw.match(LINKY_URL_REGEXP))) { // We can not end in these as they are sometimes found at the end of the sentence url = match[0]; // if we did not match ftp/http/mailto then assume mailto |
