Commit 78acfa8
committed
Scope @ escaping to URL strings only
Use isExternalPath() to only escape @ in strings that start with a
protocol scheme (http:, https:, mailto:, etc.). Preserves intentional
citations like @smith2024 in book description or other metadata fields.1 parent 3aeceee commit 78acfa8
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
1844 | 1845 | | |
1845 | 1846 | | |
1846 | 1847 | | |
1847 | | - | |
| 1848 | + | |
1848 | 1849 | | |
1849 | 1850 | | |
1850 | 1851 | | |
| |||
0 commit comments