MCPcopy Create free account
hub / github.com/TruthHun/BookStack / decode

Function decode

static/vuejs/vue.esm.js:7317–7321  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

7315var decoder;
7316
7317function decode (html) {
7318 decoder = decoder || document.createElement('div');
7319 decoder.innerHTML = html;
7320 return decoder.textContent
7321}
7322
7323/**
7324 * Not type-checking this file because it's mostly vendor code.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected