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

Function decode

static/vuejs/vue.common.js:7319–7323  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

7317var decoder;
7318
7319function decode (html) {
7320 decoder = decoder || document.createElement('div');
7321 decoder.innerHTML = html;
7322 return decoder.textContent
7323}
7324
7325/**
7326 * 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