Skip to content

Commit 3d33000

Browse files
committed
Remove formatting of "collapsed block" indicator.
1 parent 4c2cbb7 commit 3d33000

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/jblond/Diff/Renderer/Html/Unified.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ public function render(): string
3434
* Render the unified diff-view as html.
3535
*
3636
* Since this class extends the "HtmlArray" class which in turn extends "RendererAbstract" class, this method needs
37-
* to match the signature of RendererAbstract::renderHTML. However the second parameter isn't used and can be
37+
* to match the signature of RendererAbstract::renderHTML(). However the second parameter isn't used and can be
3838
* omitted.
3939
*
4040
* @param array $changes Contains the op-codes about the differences between "old and "new".
4141
* @param null $object Unused.
4242
*
43-
* @return string HTML code containing the unified differences.
43+
* @return string HTML code containing the unified differences.
4444
*/
4545
public function renderHtml($changes, $object = null): string
4646
{
@@ -56,9 +56,7 @@ public function renderHtml($changes, $object = null): string
5656
// If this is a separate block, we're condensing code to output …,
5757
// indicating a significant portion of the code has been collapsed as it did not change.
5858
$html .= <<<HTML
59-
<span class="Skipped" title="Equal lines collapsed!">
60-
<strong>&hellip;</strong>
61-
</span>
59+
<span class="Skipped" title="Equal lines collapsed!">&hellip;</span>
6260
HTML;
6361
}
6462

0 commit comments

Comments
 (0)