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

Function decode

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

Source from the content-addressed store, hash-verified

7311var decoder;
7312
7313function decode (html) {
7314 decoder = decoder || document.createElement('div');
7315 decoder.innerHTML = html;
7316 return decoder.textContent
7317}
7318
7319/**
7320 * 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