MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / flushCode

Function flushCode

deployments/desktop/static/reports.js:152–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 quoteLines = [];
151 };
152 const flushCode = () => {
153 if (!inCode) return;
154 out.push(`<pre><code>${window.escapeHtml ? window.escapeHtml(codeLines.join("\n")) : codeLines.join("\n")}</code></pre>`);
155 inCode = false;
156 codeLines = [];
157 };
158
159 for (const rawLine of lines) {
160 const line = rawLine.replace(/\t/g, " ");

Callers 1

renderMarkdownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected