diff --git a/crates/rari-doc/src/html/rewriter.rs b/crates/rari-doc/src/html/rewriter.rs
index 45fb7626..25f2e98a 100644
--- a/crates/rari-doc/src/html/rewriter.rs
+++ b/crates/rari-doc/src/html/rewriter.rs
@@ -228,6 +228,9 @@ pub fn post_process_html(
"page-not-created"
),
)?;
+ if let Some(href) = el.get_attribute("href") {
+ el.set_attribute("data-href", &href)?;
+ }
el.remove_attribute("href");
el.set_attribute("title", l10n_json_data("Common", "summary", page.locale())?)?;
true