MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / flushQuote

Function flushQuote

src/ifcchat/app.js:267–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265 };
266
267 const flushQuote = () => {
268 if (!quoteLines.length) return;
269 const quoteBody = quoteLines.map((line) => renderInlineMarkdown(line)).join("<br />");
270 html.push(`<blockquote><p>${quoteBody}</p></blockquote>`);
271 quoteLines = [];
272 };
273
274 const flushList = () => {
275 if (!listItems.length || !listType) return;

Callers 2

flushAllFunction · 0.85
renderMarkdownFunction · 0.85

Calls 4

renderInlineMarkdownFunction · 0.85
joinMethod · 0.45
mapMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected