Commit 450d95e1 authored by Dan Allen's avatar Dan Allen

consult media type instead of extname when determining extname for out

parent 6c8fde40
Pipeline #14657996 passed with stages
in 3 minutes and 9 seconds
......@@ -110,7 +110,7 @@ function resolveOut (src, htmlExtensionStyle = 'default') {
const version = src.version === 'master' ? '' : src.version
const module = src.module === 'ROOT' ? '' : src.module
const extname = src.extname === '.adoc' ? '.html' : src.extname
const extname = src.mediaType === 'text/asciidoc' ? '.html' : src.extname
let basename = src.stem + extname
let indexifyPathSegment = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment