mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #2106 allow entering multiple lines (textarea) in extra var description
This commit is contained in:
parent
60ed013915
commit
103f5ce884
2 changed files with 2 additions and 2 deletions
|
|
@ -597,7 +597,7 @@ class ExtraItem
|
|||
}
|
||||
if($this->desc)
|
||||
{
|
||||
$buff[] = '<p>' . escape(Context::replaceUserLang($this->desc), false) . '</p>';
|
||||
$buff[] = '<p>' . nl2br(trim(escape(Context::replaceUserLang($this->desc), false))) . '</p>';
|
||||
}
|
||||
|
||||
return join("\n", $buff);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue