charset functionality was borked in general case
This commit is contained in:
parent
97538e33b9
commit
0ee96935a3
|
@ -172,7 +172,7 @@ function html.generate_output(ldoc, args, project)
|
||||||
|
|
||||||
local function set_charset (ldoc,m)
|
local function set_charset (ldoc,m)
|
||||||
m = m or ldoc.module
|
m = m or ldoc.module
|
||||||
ldoc.doc_charset = m.tags.charset or ldoc.charset
|
ldoc.doc_charset = (m and m.tags.charset) or ldoc.charset
|
||||||
end
|
end
|
||||||
|
|
||||||
local module_template,err = utils.readfile (path.join(args.template,ldoc.templ))
|
local module_template,err = utils.readfile (path.join(args.template,ldoc.templ))
|
||||||
|
|
Loading…
Reference in New Issue