Skip to content

Commit c2c16c6

Browse files
committed
Fix parameter handling in HTML output generation for improved dark theme support
1 parent 37f09eb commit c2c16c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/outputFns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var _outputFns = new Map([
2323
html = ow.template.html.genStaticVersion(ow.template.parseMD2HTML(r, !toBoolean(params.htmlpart), !toBoolean(params.htmlcompact),__,params.htmldark))
2424
html = html.replace("<html>", "<html><meta charset=\"utf-8\">")
2525
} else {
26-
let _res = ow.template.html.parseMap(r, true)
26+
let _res = ow.template.html.parseMap(r, __, true)
2727
html = "<html><meta charset=\"utf-8\"><style>" + _res.css + "</style><body" + (params.htmldark ? " class=\"njsmap_dark\"" : "") + ">" + _res.out + "</body></html>"
2828
}
2929
if (params.htmlopen) {

0 commit comments

Comments
 (0)