Fix anchors not applying destination resolution
This commit is contained in:
parent
14dc84cc43
commit
78a3ef4a48
1 changed files with 5 additions and 1 deletions
|
|
@ -25,7 +25,11 @@ impl Parseable for Anchor {
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
format!(r#"<a href="{}">{}</a>"#, destination, &self.text)
|
format!(
|
||||||
|
r#"<a href="{}">{}</a>"#,
|
||||||
|
Anchor::resolve_destination(destination),
|
||||||
|
&self.text
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue