Изменения

общий postfix и postfix
Строка 35: Строка 35:  
local opener = args.opener or args._opener
 
local opener = args.opener or args._opener
 
local sep = args.sep or args._sep
 
local sep = args.sep or args._sep
 +
local prefix = args.prefix or args._prefix
 +
local postfix = args.postfix or args._postfix
 
local style = args.style or args._style
 
local style = args.style or args._style
 
local nobr = args.nobr or args._nobr
 
local nobr = args.nobr or args._nobr
Строка 92: Строка 94:  
 
 
table.insert(targs, 1, tname)
 
table.insert(targs, 1, tname)
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs._comment_sep
+
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs._comment_sep, targs._prefix, targs._postfix
= sep, style, nobr, nocat, spaced, comment_sep
+
= sep, style, nobr, nocat, spaced, comment_sep, prefix, postfix
 
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
Анонимный участник