This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Commit adf0754
fix(ngSanitize): update to exclude smart quotes
Request Type: bug
How to reproduce: Add a smart quote (single or double) at the end of a
url string and filter the string with linky. Example plunker:
http://plnkr.co/edit/CeB5x48U0D1eXq4yXkvk?p=preview
Component(s): ngSanitize
Impact: small
Complexity: small
Detailed Description:
When smart quotes are included in content filtered through linky, any
smart quote at the end of a URL string will be included in the link
text and the href.1 parent 353de4f commit adf0754
File tree
2 files changed
+5
-3
lines changed- src/ngSanitize/filter
- test/ngSanitize/filter
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments