Skip to content

Commit 008f7f4

Browse files
cscheidjjallaire
authored andcommitted
don't emit figcaption element. Closes #1711
1 parent 80f7041 commit 008f7f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/execute/ojs/compile.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ import {
7070
pandocBlock,
7171
pandocCode,
7272
pandocDiv,
73-
pandocFigCaption,
7473
pandocRawStr,
7574
} from "../../core/pandoc/codegen.ts";
7675

@@ -615,9 +614,10 @@ export async function ojsCompile(
615614
);
616615
makeSubFigures(specs);
617616
if (cell.options?.[kCellFigCap]) {
618-
const cap = pandocFigCaption();
619-
div.push(cap);
620-
cap.push(pandocRawStr(cell.options[kCellFigCap] as string));
617+
//const cap = pandocFigCaption();
618+
//div.push(cap);
619+
//cap.push(pandocRawStr(cell.options[kCellFigCap] as string));
620+
div.push(pandocRawStr(cell.options[kCellFigCap] as string));
621621
}
622622
} else {
623623
// FIXME: this should include better file and LOC information!

0 commit comments

Comments
 (0)