Merge pull request #202 from swseverance/fix-documentation

Fix Documentation Example
This commit is contained in:
老雷
2020-09-16 18:58:31 +08:00
committed by GitHub

View File

@@ -191,7 +191,7 @@ var options = {
// With the configuration specified above, the following HTML:
// <a href="#" onclick="hello()"><i>Hello</i></a>
// would become:
// <a href="#">Hello</a>
// <a href="#">&lt;i&gt;Hello&lt;/i&gt;</a>
```
For the default whitelist, please refer `xss.whiteList`.