Oops! Missed the semantic italic element

This commit is contained in:
Charlotte Som 2021-09-12 21:46:08 +01:00
parent 323d30b7d6
commit 60540b3b6d

View file

@ -54,7 +54,7 @@ pub fn convert_matrix(message: &str) -> MessageContent {
local_name!("strong") | local_name!("b") => {
construct_component!(MessageComponent::Bold)
}
local_name!("i") | local_name!("i") => {
local_name!("em") | local_name!("i") => {
construct_component!(MessageComponent::Italic)
}
_ => {}