diff --git a/doc/BBCode.md b/doc/BBCode.md index 3fe5991308..43b777727b 100644 --- a/doc/BBCode.md +++ b/doc/BBCode.md @@ -191,7 +191,7 @@ code You should not read any further if you want to be surprised.
Click to open/close -
+
@@ -202,7 +202,7 @@ code Author wrote:
Click to open/close -
+
diff --git a/doc/de/BBCode.md b/doc/de/BBCode.md index a978c4f45d..7caef5d0ae 100644 --- a/doc/de/BBCode.md +++ b/doc/de/BBCode.md @@ -192,7 +192,7 @@ Zeilen Du solltest nicht weiter lesen, wenn du das Ende des Films nicht vorher erfahren willst.
Zum öffnen/schließen klicken -
+
@@ -203,7 +203,7 @@ Zeilen Autor hat geschrieben
Zum öffnen/schließen klicken -
+
diff --git a/src/Model/Item.php b/src/Model/Item.php index 8dce7a7880..28a45fbf06 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -3438,15 +3438,15 @@ class Item } if ($shared) { - $content = str_replace(BBCode::TOP_ANCHOR, '
' . $leading . '
' . BBCode::TOP_ANCHOR, $content); - $content = str_replace(BBCode::BOTTOM_ANCHOR, '
' . $trailing . '
' . BBCode::BOTTOM_ANCHOR, $content); + $content = str_replace(BBCode::TOP_ANCHOR, '
' . $leading . '
' . BBCode::TOP_ANCHOR, $content); + $content = str_replace(BBCode::BOTTOM_ANCHOR, '
' . $trailing . '
' . BBCode::BOTTOM_ANCHOR, $content); } else { if ($leading != '') { - $content = '
' . $leading . '
' . $content; + $content = '
' . $leading . '
' . $content; } if ($trailing != '') { - $content .= '
' . $trailing . '
'; + $content .= '
' . $trailing . '
'; } } @@ -3606,7 +3606,7 @@ class Item } if ($trailing != '') { - $content .= '
' . $trailing . '
'; + $content .= '
' . $trailing . '
'; } DI::profiler()->stopRecording();