charset functionality was borked in general case

This commit is contained in:
steve donovan 2013-04-03 12:20:54 +02:00
parent 97538e33b9
commit 0ee96935a3
1 changed files with 1 additions and 1 deletions

View File

@ -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))