mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-05 10:11:25 -05:00
Merge pull request #4686 from Roardom/fix-apos
This commit is contained in:
+1
-1
@@ -58,6 +58,6 @@ class Page extends Model
|
||||
*/
|
||||
public function getContentHtml(): string
|
||||
{
|
||||
return Markdown::convert(htmlspecialchars_decode((new Bbcode())->parse($this->content, false)))->getContent();
|
||||
return Markdown::convert(htmlspecialchars_decode((new Bbcode())->parse($this->content, false), ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML5))->getContent();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -52,6 +52,6 @@ class Wiki extends Model
|
||||
*/
|
||||
public function getContentHtml(): string
|
||||
{
|
||||
return Markdown::convert(htmlspecialchars_decode((new Bbcode())->parse($this->content, false)))->getContent();
|
||||
return Markdown::convert(htmlspecialchars_decode((new Bbcode())->parse($this->content, false), ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML5))->getContent();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user