add lacking of trans

This commit is contained in:
xiaomlove
2023-06-18 17:37:06 +08:00
parent 1a35db1215
commit e1a7874273
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ function formatSpoiler($content, $title = '', $defaultCollapsed = true): string
if (!$title) {
$title = $lang_functions['spoiler_default_title'];
}
$content = str_replace(['<br>', '<br />'], '', $content);
// $content = str_replace(['<br>', '<br />'], '', $content);
$contentClass = "spoiler-content";
if ($defaultCollapsed) {
$contentClass .= " collapse";