aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/renderer/html.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/renderer/html.rs b/src/renderer/html.rs
index 869444f..44df6d1 100644
--- a/src/renderer/html.rs
+++ b/src/renderer/html.rs
@@ -214,13 +214,15 @@ impl HTMLRender for String {
impl HTMLRender for e::Reference {
fn render_html<W>(&self, stream: &mut W) -> Result<(), Error> where W: Write {
let extra = self.extra();
- write!(stream, "<a")?;
+ write!(stream, "<a class=\"reference external\"")?;
if let Some(ref target) = extra.refuri {
write!(stream, " href=\"{}\"", target)?;
}
+ /*
if let Some(ref name) = extra.name {
write!(stream, " title=\"{}\"", name.0)?;
}
+ */
write!(stream, ">")?;
for c in self.children() {
(*c).render_html(stream)?;