Content deleted Content added
function _cite_fr: See if we can tweak 'pages totales' and stick it in 'pages' as a comment, to pass the data through without throwing an error. |
function _cite_fr: but if 'pages' already exists, then just append the total pages comment to it. |
||
Line 1,019:
-- end
if args_t['pages totales'] then
if args_t['pages'] then
table.insert (cite_args_t, 'pages=<!--pages totales=' .. args_t['pages totales'] .. '--> '); -- apply as-wrtn markup▼
args_t['pages'] = args_t['pages'] .. ' <!--pages totales=' .. args_t['pages totales'] .. '--> ';
else
▲ table.insert (cite_args_t, 'pages=<!--pages totales=' .. args_t['pages totales'] .. '--> ');
end
args_t['pages totales'] = nil; -- unset as no longer needed
end
|