Platform
Resources
Pricing
Sign in
Get started
Alf Eaton
Workspace
Fork
Published
Utilities
By
Alf Eaton
Edited
Mar 22, 2021
Importers
1 star
Insert cell
Insert cell
Insert cell
escapeHTML
=
input
=>
input
.
replace
(
/[<>&"']/g
,
char
=>
`&#${
char
.
charCodeAt
(
0
)
};`
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Pin
Add comment
Select
Duplicate
Copy link
Embed
Delete
escapeHTML
Unpin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML