Modul:Hatnote list: Unterschied zwischen den Versionen
add "." and collapse punctuation for extratext |
fix |
||
| Zeile 177: | Zeile 177: | ||
end | end | ||
end | end | ||
table.insert(strList, punctuationCollapse(options.extratext..'.')) | if options.extratext then table.insert(strList, punctuationCollapse(options.extratext..'.')) end | ||
-- Return the concatenated list | -- Return the concatenated list | ||
return table.concat(strList, ' ') | return table.concat(strList, ' ') | ||