Fixed newlines in plain text mode.
This commit is contained in:
parent
09d338a1d3
commit
488b898af6
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ function parse_text(string $text, int $parser): string
|
|||
return BBCodeParser::instance()->parseText($text);
|
||||
|
||||
case MSZ_PARSER_PLAIN:
|
||||
return $text;
|
||||
return nl2br($text);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue