Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed May 29, 2019
1 parent 7c28f06 commit 7bdb8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -19,7 +19,7 @@ The exported function also have an `.escape(value)` to safely parse text that mi

```js
const value = 'this [might] be an issue';
const div = qs2el`div[data-blob=${qs2el(value)}]`;
const div = qs2el`div[data-blob=${qs2el.escape(value)}]`;

div.dataset.blob === value; // true
```

0 comments on commit 7bdb8d2

Please sign in to comment.