diff --git a/README.md b/README.md index 3f75993c..e07fed16 100644 --- a/README.md +++ b/README.md @@ -18,20 +18,20 @@ Following all methods exposed through the `twemoji` namespace. ### twemoji.parse( ... ) -This is the main parsing utility and it has 3 overloads per each parsing type. +This is the main parsing utility and has 3 overloads per each parsing type. -There are mainly two kind of parsing, [string parsing](https://github.com/twitter/twemoji#string-parsing), and [DOM parsing](https://github.com/twitter/twemoji#dom-parsing). +There are mainly two kind of parsing: [string parsing](https://github.com/twitter/twemoji#string-parsing) and [DOM parsing](https://github.com/twitter/twemoji#dom-parsing). -Each of them accept a callback to generate each image source, or an options object with parsing info. +Each of them accept a callback to generate each image source or an options object with parsing info. -Here a walk through all parsing possibilities. +Here is a walk through all parsing possibilities: ##### string parsing Given a generic string, it will replace all emoji with an `` tag. -While this can be used to inject via `innerHTML` emoji image tags, please note that this method does not sanitize the string or prevent malicious code to be executed. As example, if the text contains a `