server: fix broken open-link-in-new-tab from recent changes

This commit is contained in:
Bill Thiede 2024-07-07 14:40:37 -07:00
parent c288b7fd67
commit 30064d5904

View File

@ -183,7 +183,7 @@ pub fn sanitize_html(html: &str, cid_prefix: &str) -> Result<String, SanitizeErr
]; ];
let tag_attributes = hashmap![ let tag_attributes = hashmap![
"a" => hashset![ "a" => hashset![
"href", "hreflang" "href", "hreflang", "target",
], ],
"bdo" => hashset![ "bdo" => hashset![
"dir" "dir"