Render the old line with HTML highlighting. Returns HTML with ` ` tags for styling.
(&self)
| 521 | /// |
| 522 | /// Returns HTML with `<span>` tags for styling. |
| 523 | pub fn render_old_html(&self) -> String { |
| 524 | self.render_with_html(self.old_content, &self.old_hunks, "deleted") |
| 525 | } |
| 526 | |
| 527 | /// Render the new line with HTML highlighting. |
| 528 | /// |