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

Function flushQuote

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

Source from the content-addressed store, hash-verified

145 listType = "";
146 };
147 const flushQuote = () => {
148 if (!quoteLines.length) return;
149 out.push(`<blockquote>${quoteLines.map((item) => `<p>${renderInlineMarkdown(item)}</p>`).join("")}</blockquote>`);
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>`);

Callers 1

renderMarkdownFunction · 0.70

Calls 1

renderInlineMarkdownFunction · 0.70

Tested by

no test coverage detected