mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Closes #700 - double html parser call breaking HTML
This commit is contained in:
4
page.php
4
page.php
@@ -795,7 +795,9 @@ class pageClass
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->pageToRender = $tp->toHTML($this->pageText, TRUE, 'BODY');
|
// $this->pageToRender = $tp->toHTML($this->pageText, TRUE, 'BODY');
|
||||||
|
// Remove double parsing - it breaks HTML (inserts <br> as [html] is already removed)
|
||||||
|
$this->pageToRender = $this->pageText;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user