Changes
apply automatic newlines
for k, v in pairs(origArgs) do
if v ~= '' then
-- Apply automatic newlines ([[meta:Help:Newlines and spaces#Automatic newline]]) to
-- simulate template behavior.
if mw.ustring.find(v, '^[#*:;]') or mw.ustring.find(v, '^{|') then
v = '\n' .. v
end
args[k] = v
end