turn AUTOTITLE to actual titles (#33902)
This commit is contained in:
@@ -44,10 +44,7 @@ export default function createProcessor(context) {
|
||||
.use(raw)
|
||||
.use(wrapInElement, { selector: 'ol > li img', wrapper: 'span.procedural-image-wrapper' })
|
||||
.use(rewriteImgSources)
|
||||
.use(rewriteLocalLinks, {
|
||||
languageCode: context.currentLanguage,
|
||||
version: context.currentVersion,
|
||||
})
|
||||
.use(rewriteLocalLinks, context)
|
||||
.use(html)
|
||||
}
|
||||
|
||||
@@ -58,9 +55,6 @@ export function createMinimalProcessor(context) {
|
||||
.use(remark2rehype, { allowDangerousHtml: true })
|
||||
.use(slug)
|
||||
.use(raw)
|
||||
.use(rewriteLocalLinks, {
|
||||
languageCode: context.currentLanguage,
|
||||
version: context.currentVersion,
|
||||
})
|
||||
.use(rewriteLocalLinks, context)
|
||||
.use(html)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user