Skip to content

Commit a4ed18b

Browse files
authored
Update README.md
1 parent 95b71d2 commit a4ed18b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,24 @@ Result:
148148
a <ins>b </ins>c
149149
```
150150

151+
Example 2:
152+
153+
```abap
154+
lv_original = 'a b c'.
155+
156+
lv_modified = 'a c'.
157+
158+
lv_diff = li_htmldiff->textdiff(
159+
iv_before = lv_original
160+
iv_after = lv_modified ).
161+
```
162+
163+
Result:
164+
165+
```text
166+
a <del>b </del>c
167+
```
168+
151169
### Styling
152170

153171
Here's an examle for styling the insertions and deletions using CSS.

0 commit comments

Comments
 (0)