format text for image reports

This commit is contained in:
Shish 2018-07-20 00:37:43 +01:00
parent 8ea25a4e90
commit 639a1bc3cd

View File

@ -79,13 +79,13 @@ class ReportImageTheme extends Themelet {
if($public == "both") {
$html .= html_escape(User::by_id($report->user_id)->name);
$html .= " - ";
$html .= html_escape($report->reason);
$html .= format_text($report->reason);
}
elseif($public == "user") {
$html .= html_escape(User::by_id($report->user_id)->name);
}
elseif($public == "reason") {
$html .= html_escape($report->reason);
$html .= format_text($report->reason);
}
}
$html .= "<p>";