Изменения

общий prefix и postfix, только если нет частного
Строка 135: Строка 135:  
 
 
table.insert(targs, 1, tname)
 
table.insert(targs, 1, tname)
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs._comment_sep, targs._prefix, targs._postfix
+
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs._comment_sep = sep, style, nobr,
= sep, style, nobr, nocat, spaced, comment_sep, prefix, postfix
+
nocat, spaced, comment_sep
 +
if not targs._prefix then
 +
targs._prefix = prefix
 +
end
 +
if not targs._postfix then
 +
targs._postfix = postfix
 +
end
 
local adjusted_opener
 
local adjusted_opener
 
if style == 'pre' and opener == '*' and targs._before == nil then
 
if style == 'pre' and opener == '*' and targs._before == nil then
Анонимный участник