MCPcopy Create free account
hub / github.com/HubSpot/draft-convert / sanitizeDraftText

Function sanitizeDraftText

src/convertFromHTML.js:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95};
96
97const sanitizeDraftText = input => {
98 return input.replace(REGEX_BLOCK_DELIMITER, '');
99};
100
101function getEmptyChunk() {
102 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…