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 {
201201 MarkdownPipelineHandler ,
202202} from "../../core/markdown-pipeline.ts" ;
203203import { getEnv } from "../../../package/src/util/utils.ts" ;
204- import { canonicalizeTitlePostprocessor } from "../../format/html/format-html-title.ts" ;
205204import {
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 )
You can’t perform that action at this time.
0 commit comments