Add the short type to inline links, too
This commit is contained in:
parent
fce944d4e7
commit
bc4ad1a2c9
@ -550,8 +550,8 @@ impl<'a> fmt::Display for HRef<'a> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match href(self.did) {
|
||||
Some((url, shortty, fqp)) => if !f.alternate() {
|
||||
write!(f, "<a class='{}' href='{}' title='{}'>{}</a>",
|
||||
shortty, url, fqp.join("::"), self.text)
|
||||
write!(f, "<a class='{}' href='{}' title='{} {}'>{}</a>",
|
||||
shortty, url, shortty, fqp.join("::"), self.text)
|
||||
} else {
|
||||
write!(f, "{}", self.text)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user