File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,6 @@ public function setContentAttribute(?string $value): void
58
58
*/
59
59
public function getContentHtml (): string
60
60
{
61
- return Markdown::convert (( new Bbcode ())->parse ($ this ->content , false ))->getContent ();
61
+ return Markdown::convert (htmlspecialchars_decode (( new Bbcode ())->parse ($ this ->content , false ) ))->getContent ();
62
62
}
63
63
}
Original file line number Diff line number Diff line change @@ -52,6 +52,6 @@ public function category(): \Illuminate\Database\Eloquent\Relations\BelongsTo
52
52
*/
53
53
public function getContentHtml (): string
54
54
{
55
- return Markdown::convert (( new Bbcode ())->parse ($ this ->content , false ))->getContent ();
55
+ return Markdown::convert (htmlspecialchars_decode (( new Bbcode ())->parse ($ this ->content , false ) ))->getContent ();
56
56
}
57
57
}
You can’t perform that action at this time.
0 commit comments