修正英文README中对“允许标签以data-开头的属性”的描述
This commit is contained in:
@@ -265,7 +265,7 @@ code:
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Allow tags start with `data-`
|
### Allow attributes of whitelist tags start with `data-`
|
||||||
|
|
||||||
```JavaScript
|
```JavaScript
|
||||||
var source = '<div a="1" b="2" data-a="3" data-b="4">hello</div>';
|
var source = '<div a="1" b="2" data-a="3" data-b="4">hello</div>';
|
||||||
|
|||||||
Reference in New Issue
Block a user