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

Function flushCode

deployments/desktop/static/desktop.js:2633–2638  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2631 quoteLines = [];
2632 };
2633 const flushCode = () => {
2634 if (!inCode) return;
2635 out.push(`<pre><code>${escapeHtml(codeLines.join("\n"))}</code></pre>`);
2636 inCode = false;
2637 codeLines = [];
2638 };
2639
2640 for (const rawLine of lines) {
2641 const line = rawLine.replace(/\t/g, " ");

Callers 1

renderMarkdownFunction · 0.70

Calls 1

escapeHtmlFunction · 0.70

Tested by

no test coverage detected