MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / parseHTML

Function parseHTML

src/lib/util.js:99–102  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

97}
98
99export function parseHTML(html) {
100 const htmlDoc = new DOMParser().parseFromString(html, 'text/html');
101 return htmlDoc.body.childNodes;
102}
103
104function decodeQuotedPrint(armored) {
105 return armored

Callers 5

setContentFunction · 0.90
renderFrameMethod · 0.90
setMessageMethod · 0.90
createEditorButtonMethod · 0.90
renderFrameMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected