File tree Expand file tree Collapse file tree 2 files changed +178
-185
lines changed Expand file tree Collapse file tree 2 files changed +178
-185
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ import {
201
201
MarkdownPipelineHandler ,
202
202
} from "../../core/markdown-pipeline.ts" ;
203
203
import { getEnv } from "../../../package/src/util/utils.ts" ;
204
- import { canonicalizeTitlePostprocessor } from "../../format/html/format-html-title.ts" ;
205
204
import {
206
205
BrandFontBunny ,
207
206
BrandFontFile ,
@@ -439,11 +438,6 @@ export async function runPandoc(
439
438
// record postprocessors
440
439
postprocessors . push ( ...( extras . postprocessors || [ ] ) ) ;
441
440
442
- // Fix H1 title inconsistency
443
- if ( isHtmlFileOutput ( options . format . pandoc ) ) {
444
- htmlPostprocessors . push ( canonicalizeTitlePostprocessor ) ;
445
- }
446
-
447
441
// add a keep-source post processor if we need one
448
442
if (
449
443
options . format ?. render [ kKeepSource ] || formatHasCodeTools ( options . format )
You can’t perform that action at this time.
0 commit comments