Skip to content

Commit a9eb311

Browse files
committed
Update README.md
1 parent e64aa5f commit a9eb311

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ npm install --save ngx-diff2html
7676
| -------------------- | ----------------- | ------------------------------------ | --------------------------
7777
| left | string | Yes | First text to be compared
7878
| right | string | Yes | Second text to be compared
79-
| filename | string | Optional, default: ` ` (empty) | Can be used to display a filename at the top of diff results
79+
| filename | string | Optional, default: '' (empty) | Can be used to display a filename at the top of diff results
8080
| format | `DiffFormat` | Optional, default: `side-by-side` | Possible values:<br> - `side-by-side`<br> - `line-by-line`
8181
| style | `DiffStyle` | Optional, default: `word` | Possible values:<br> - `word`<br> - `char`
8282

@@ -110,9 +110,7 @@ import { NgxDiff2htmlService } from 'ngx-diff2html';
110110

111111
@Component({
112112
selector: 'app-root',
113-
template: `
114-
<div [innerHtml]="diffHTML"></div>
115-
`,
113+
template: `<div [innerHtml]="diffHTML"></div>`,
116114
styles: [],
117115
providers: [
118116
NgxDiff2htmlService

0 commit comments

Comments
 (0)