We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f336aa6 commit ab326e0Copy full SHA for ab326e0
src/format/pdf/format-pdf.ts
@@ -683,7 +683,7 @@ const longTableSidenoteProcessor = () => {
683
}
684
case "capturing":
685
capturedLines.push(line);
686
- if (line.match(/^\\end{longtable}.*$/)) {
+ if (line.match(/[^\\n]\\end{longtable}.*$/)) {
687
state = "scanning";
688
689
// read the whole figure and clear any capture state
0 commit comments