Изменения
откат
self.issue = args.smalltext
self.issue = args.smalltext
else
else
if args.sect then
local sect
if args.sect == '' then
sect = '<span style="font-weight:bold">Эта ' .. (cfg.sectionDefault or 'статья') .. '</span>'
elseif type(args.sect) == 'string' then
sect = '<span style="font-weight:bold">' .. args.sect .. '</span>'
end
local issue = args.issue
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
issue = type(issue) == 'string' and issue ~= '' and issue or nil
text = type(text) == 'string' and text or nil
text = type(text) == 'string' and text or nil
local issues = {}
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, issue)
table.insert(issues, text)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
self.issue = table.concat(issues, ' ')
end
end