Terraria Wiki
Advertisement
Terraria Wiki
3,743
个页面
Template-info.svg 文档 以下文档内容来自模板:Nl2br/doc。 (edit | history)

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