Module:Hatnote list: Difference between revisions
Jump to navigation
Jump to search
add "." and collapse punctuation for extratext
>Galobtter (add "extratext" functionality to "ForSee" to allow text to be added after it) |
>Galobtter (add "." and collapse punctuation for extratext) |
||
Line 177: | Line 177: | ||
end | end | ||
end | end | ||
table.insert(strList, options.extratext) | table.insert(strList, punctuationCollapse(options.extratext..'.')) | ||
-- Return the concatenated list | -- Return the concatenated list | ||
return table.concat(strList, ' ') | return table.concat(strList, ' ') |