diff --git a/README.md b/README.md index a4f89bcb..2e1fd2ba 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,103 @@ Each of them accepts a callback to generate an image source or an options object Here is a walkthrough of all parsing possibilities: +#### string parsing + +Given a generic string, replaces all emoji with an `` tag. + +While this can be used to inject emoji via image tags in `innerHTML`, please note that this method does not sanitize the string or prevent malicious code from being executed. As an example, if the text contains a `