Adding clearurls crate to clean tracking params from links and markdown. (#5018)

* Adding clearurls crate to clean tracking params from links and markdown.

- Thanks to @jenrdikw for creating this
- Fixes #4905

* Upgrading to new version of clearurls

* Fix clippy
This commit is contained in:
Dessalines 2024-09-16 11:15:41 -04:00 committed by Felix Ableitner
parent 5093491b53
commit 9a77b327f7

14
Cargo.lock generated
View file

@ -1072,6 +1072,20 @@ dependencies = [
"url",
]
[[package]]
name = "clearurls"
version = "0.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e291c00af89ac0a5b400d9ba46a682e38015ae3cd8926dbbe85b3b864d550be3"
dependencies = [
"linkify",
"percent-encoding",
"regex",
"serde",
"serde_json",
"url",
]
[[package]]
name = "clokwerk"
version = "0.4.0"