Make sure newlines are present in LLVM IR documentation (#8289)

This commit is contained in:
Sayan Sivakumaran
2025-12-10 07:30:10 -06:00
committed by GitHub
parent d2cc7118aa
commit adca61373a
2 changed files with 3622 additions and 67 deletions

View File

@@ -77,7 +77,7 @@ for (const instruction of info) {
console.log(` case '${instruction.name.toUpperCase()}':`);
console.log(' return {');
console.log(` url: \`${instruction.url}\`,`);
console.log(` html: \`${instruction.html.replaceAll('\n', '').replaceAll('`', '\\`')}\`,`);
console.log(` html: \`${instruction.html.replaceAll('`', '\\`')}\`,`);
console.log(` tooltip: \`${instruction.tooltip.replaceAll('\n', '').replaceAll('`', '\\`')}\`,`);
console.log(' };');
}