Skip to content

sample output from demo index.php

Abe2021 edited this page Sep 17, 2021 · 2 revisions

The following is the output from demo/index.php found in the download (not using any CSS enhancement).

Use CSS on ins and del tags to enhance the output

ins {
   background-color:#CAECCA;
}
del {
   background-color:#EEA2A2;
}




Old html

This is some sample text to demonstrate the capability of the HTML diff tool.

It is based on the Ruby implementation found here. Note how the link has no tooltip

Some sample text Some sample value
Data 1 (this row will be removed) Data 2
Here is a number 2 32

New html

This is some sample text to demonstrate the awesome capabilities of the HTML diff tool.



Extra spacing here that was not here before.

It is based on the Ruby implementation found here. Note how the link has a tooltip now and the HTML diff algorithm has preserved formatting.

Some sample bold text Some sample value
Here is a number 2 32

Compared html

This is some sample text to demonstrate the capabilityawesome capabilities of the HTML diff tool.



Extra spacing here that was not here before.

It is based on the Ruby implementation found here. Note how the link has noa tooltip now and the HTML diff algorithm has preserved formatting.

Some sample bold text Some sample value
Data 1 (this row will be removed) Data 2
Here is a number 2 32
Clone this wiki locally