Commit 7bd1054
committed
fix: only replace URLs in href attributes, not in link text
The link rewriting was replacing ALL occurrences of the URL,
including visible link text. Now it only replaces within
href="..." or href='...' attributes.
Before: <a href="tracking-url">tracking-url</a>
After: <a href="tracking-url">original-url</a>1 parent 2d06d34 commit 7bd1054
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
420 | 424 | | |
421 | 425 | | |
422 | 426 | | |
| |||
0 commit comments