Minor edits to README

master
Matteo Suppo 10 years ago
parent 4d0c27d247
commit 9b4762640e

@ -32,10 +32,10 @@ It's a filter, you use it in your html like this:
```<div ng-bind-html="oldText|diff:newText"></div>```
This will show the diff between ```oldText``` and ```newText```
This will show the diff between ```oldText``` and ```newText```
Note that the filter returns html with <ins> and <del> tags, so in order to
display it you have to use ng-bind-html.
Note that the filter returns html with '''<ins>''' and '''<del>''' tags, so in order to
display it you have to use ng-bind-html.
Here's a demo, that's worth more than a thousand words: