From fdc6f224fcd33188028ec0de0058af82cabea49c Mon Sep 17 00:00:00 2001 From: pmk25 Date: Tue, 11 Nov 2014 11:07:21 -0500 Subject: [PATCH] Update README.md Minor grammar/formatting tweaks. --- README.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) 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 `