Skip to content

Commit 6de400b

Browse files
authored
Merge pull request #11639 from quarto-dev/bugfix/issue-11596
2 parents d000b29 + ef3cc62 commit 6de400b

File tree

2 files changed

+178
-185
lines changed

2 files changed

+178
-185
lines changed

src/command/render/pandoc.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ import {
201201
MarkdownPipelineHandler,
202202
} from "../../core/markdown-pipeline.ts";
203203
import { getEnv } from "../../../package/src/util/utils.ts";
204-
import { canonicalizeTitlePostprocessor } from "../../format/html/format-html-title.ts";
205204
import {
206205
BrandFontBunny,
207206
BrandFontFile,
@@ -439,11 +438,6 @@ export async function runPandoc(
439438
// record postprocessors
440439
postprocessors.push(...(extras.postprocessors || []));
441440

442-
// Fix H1 title inconsistency
443-
if (isHtmlFileOutput(options.format.pandoc)) {
444-
htmlPostprocessors.push(canonicalizeTitlePostprocessor);
445-
}
446-
447441
// add a keep-source post processor if we need one
448442
if (
449443
options.format?.render[kKeepSource] || formatHasCodeTools(options.format)

0 commit comments

Comments
 (0)