Add arrow and improve display

This commit is contained in:
Guillaume Gomez
2017-09-09 15:33:57 +02:00
parent 9c12e5d4e8
commit 79f888da68
6 changed files with 98 additions and 36 deletions

View File

@@ -3679,7 +3679,8 @@ impl<'a> fmt::Display for Source<'a> {
write!(fmt, "<span id=\"{0}\">{0:1$}</span>\n", i, cols)?;
}
write!(fmt, "</pre>")?;
write!(fmt, "{}", highlight::render_with_highlighting(s, None, None, None, None))?;
write!(fmt, "{}",
highlight::render_with_highlighting(s, None, None, None, None))?;
Ok(())
}
}