diff --git a/README.md b/README.md index 4f202f1..6a46c76 100644 --- a/README.md +++ b/README.md @@ -456,7 +456,7 @@ img1, img2, img3, img4 var source = "helloend"; var html = xss(source, { whiteList: [], // empty, means filter out all tags - stripIgnoreTag: true, // filter out all HTML not in the whilelist + stripIgnoreTag: true, // filter out all HTML not in the whitelist stripIgnoreTagBody: ["script"] // the script tag is a special case, we need // to filter out its content });