server: fix broken open-link-in-new-tab from recent changes
This commit is contained in:
parent
c288b7fd67
commit
30064d5904
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user