Module:Lang: Difference between revisionsGive feedback
m added Silence |
Use <br/> tag for new lines |
||
| Line 32: | Line 32: | ||
if not text or type(text) ~= "string" then return text end | if not text or type(text) ~= "string" then return text end | ||
-- Replace "n with newline character | -- Replace "n with newline character | ||
return text:gsub('"n', ' | return text:gsub('"n', '<br/>') | ||
end | end | ||