From 6e1ca850fd27d390e2abad5171182af148e681c4 Mon Sep 17 00:00:00 2001 From: Ilko Date: Mon, 21 Oct 2013 17:53:01 +0300 Subject: [PATCH] Correct column position for line numbers when tag is replace. --- lib/Diff/Renderer/Html/Inline.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Diff/Renderer/Html/Inline.php b/lib/Diff/Renderer/Html/Inline.php index 60e8005a..a37fec66 100644 --- a/lib/Diff/Renderer/Html/Inline.php +++ b/lib/Diff/Renderer/Html/Inline.php @@ -128,8 +128,8 @@ public function render() foreach($change['changed']['lines'] as $no => $line) { $toLine = $change['changed']['offset'] + $no + 1; $html .= ''; - $html .= ''.$toLine.''; $html .= ' '; + $html .= ''.$toLine.''; $html .= ''.$line.''; $html .= ''; } @@ -140,4 +140,4 @@ public function render() $html .= ''; return $html; } -} \ No newline at end of file +}