Template:Nl2br
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:Nl2br/doc. (edit | history)
[purge]
This template replaces all newlines in the input string with <br/>
HTML tags.
Usage
{{ nl2br | <string> }}
- First unnamed parameter
The input string.
Examples
Code | Before | After |
---|---|---|
aab bcc |
aab
bcc |
aab bcc |
See also
{{br2slash}}