Skip to content

Commit 361f19b

Browse files
committed
Reverting...
1 parent 5b753f8 commit 361f19b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/cogpowered/FineDiff/Render/Html.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ public function callback( $opcode, $from, $from_offset, $from_len ) {
3333
}
3434

3535
$html = '<del>' . htmlentities( $deletion ) . '</del>';
36-
$html = str_replace( "\r\n", PHP_EOL, $html );
3736
$html = str_replace( PHP_EOL, '</del>' . PHP_EOL . '<del>', $html );
3837

3938
} else /* if ( $opcode === 'i' ) */ {
4039
$html = '<ins>' . htmlentities( substr( $from, $from_offset, $from_len ) ) . '</ins>';
41-
$html = str_replace( ["\r\n"], PHP_EOL, $html );
4240
$html = str_replace( PHP_EOL, '</ins>' . PHP_EOL . '<ins>', $html );
4341
}
4442

0 commit comments

Comments
 (0)