Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### escapeHTML
|
||||
---
|
||||
title: escapeHTML
|
||||
tags: string,browser,regexp,intermediate
|
||||
---
|
||||
|
||||
Escapes a string for use in HTML.
|
||||
|
||||
@ -21,4 +24,4 @@ const escapeHTML = str =>
|
||||
|
||||
```js
|
||||
escapeHTML('<a href="#">Me & you</a>'); // '<a href="#">Me & you</a>'
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user