From 9a77b327f7754737d979df80838da5de6557668c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 16 Sep 2024 11:15:41 -0400 Subject: [PATCH] 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 --- Cargo.lock | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index a34496113f..d951d3bbd8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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"