File tree 2 files changed +2
-2
lines changed
lib/jblond/Diff/Renderer/Html
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ function ($removedParts) use ($addedParts) {
253
253
*/
254
254
public function generateBlockFooter (array $ changes ): string
255
255
{
256
- return ' </tbody> ' ;
256
+ return $ changes [ ' tag ' ] != ' delete ' ? ' </tbody> ' : ' ' ;
257
257
}
258
258
259
259
/**
Original file line number Diff line number Diff line change 24
24
</tr><tr>
25
25
<th class="" title="">7</th>
26
26
<td> <h1>This is demo content to show features of the php-diff package.</h1></td>
27
- </tr></tbody></tbody>< tbody class="ChangeEqual"><tr>
27
+ </tr></tbody><tbody class="ChangeEqual"><tr>
28
28
<th class="ChangeDelete" title="Lines deleted at Version2:
29
29
8: <h2>This line is removed from version2.</h2>
30
30
">8</th>
You can’t perform that action at this time.
0 commit comments