Skip to content

Commit 0c1b234

Browse files
committed
Minor edits to README
1 parent 7124b00 commit 0c1b234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ USAGE
3030

3131
It's a filter, you use it in your html like this:
3232

33-
```<div ng-bind-html="oldText|diff:newText"></div>```
33+
<div ng-bind-html="oldText|diff:newText"></div>
3434

3535
This will show the diff between ```oldText``` and ```newText```
3636

37-
Note that the filter returns html with '''&lt;ins&gt;''' and '''&lt;del&gt;''' tags, so in order to
37+
Note that the filter returns html with ```<ins>``` and ```<del>``` tags, so in order to
3838
display it you have to use ng-bind-html.
3939

4040
Here's a demo, that's worth more than a thousand words:

0 commit comments

Comments
 (0)