Fixed newlines in plain text mode.

This commit is contained in:
flash 2018-09-23 00:48:57 +02:00
parent 09d338a1d3
commit 488b898af6

View file

@ -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);
}
}