message-row: HTML escape values of HTML tag attributes
This commit is contained in:
parent
bbe46860cd
commit
5bd7c6ccca
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ pub fn extract_mentions(s: &str, room: &Room) -> (String, Vec<(Pill, String)>) {
|
|||
new_string,
|
||||
r#" {}="{}""#,
|
||||
String::from_utf8_lossy(attr_name),
|
||||
String::from_utf8_lossy(attr_value),
|
||||
html_escape(&String::from_utf8_lossy(attr_value)),
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue