MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / parseHTML

Function parseHTML

openlibrary/components/lit/html-block.js:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 },
34
35 parseHTML() {
36 return [{ tag: 'div[data-html-block]' }];
37 },
38
39 renderHTML({ node }) {
40 const encoded = btoa(unescape(encodeURIComponent(node.attrs.content)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected