Skip to content

Commit fcdcbf5

Browse files
committed
Respect user specified abstract titles
Fixes #3911
1 parent e6aa9e5 commit fcdcbf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/command/render/pandoc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ export async function runPandoc(
308308
isEpubOutput(options.format.pandoc))
309309
) {
310310
options.format.metadata[kAbstractTitle] =
311+
options.format.metadata[kAbstractTitle] ||
311312
options.format.language[kSectionTitleAbstract];
312313
}
313314

0 commit comments

Comments
 (0)