fix(mdhtml): dont strip class=u-url mention
This commit is contained in:
parent
905564ce15
commit
0f97d7656a
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ impl TokenSink for Sink {
|
|||
match attr.name.local.as_ref() {
|
||||
"href" => self.buffer.push_str(&format!(" href=\"{}\"", attr.value.as_ref())),
|
||||
"title" => self.buffer.push_str(&format!(" title=\"{}\"", attr.value.as_ref())),
|
||||
"class" => if attr.value.as_ref() == "u-url mention" { self.buffer.push_str(" class=\"u-url mention\"") },
|
||||
_ => {},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue