Skip to content

Commit

Permalink
#16 - Use 'bbarea' rather than 'textarea'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Moc committed Jul 31, 2022
1 parent 1a6f27a commit 62c9bdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class wrapper_ui extends e_admin_ui
),
'frontpage_text' => array(
'title' => LAN_WRAPPER_FRONTPAGETEXT,
'type' => 'textarea',
'type' => 'bbarea',
'data' => 'str',
'width' => 'auto',
'inline' => true,
Expand Down
2 changes: 1 addition & 1 deletion wrapper_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function showWrapper($id = '', $wrap_pass = '')
{
if($this->frontpageText)
{
return e107::getParser()->toHTML($this->frontpageText);;
return e107::getParser()->toHTML($this->frontpageText, true);
}
else
{
Expand Down

0 comments on commit 62c9bdc

Please sign in to comment.