shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
encodeEntities
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.html
This function allows you to encode some entities in a string like ”<” to “<” It supports all the
Params
- html*-String
The html to unescape
Return
- -String
The unescaped html
Example
import { encodeEntities } from '@blackbyte/sugar/html';
encodeEntities('<s-code-example>'); // => <s-code-example>Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space