Skip to content

Commit 05fe738

Browse files
authored
fix(sites-29937): send customHeaders into md2docx (#506)
1 parent 7f54d28 commit 05fe738

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/importer/HTML2x.js

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ async function html2x(
161161
mdast2docxOptions: {
162162
stylesXML: config.docxStylesXML,
163163
image2png: config.image2png,
164+
customHeaders: params.customHeaders || {},
164165
},
165166
createDocumentFromString: config.createDocumentFromString,
166167
components: params.components,

0 commit comments

Comments
 (0)