From 8a6da567381b85dc221532684290d41a3bb33593 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 14 Dec 2022 09:53:58 -0500 Subject: [PATCH] Remove obsolete `
` from body-attach div --- doc/BBCode.md | 4 ++-- doc/de/BBCode.md | 4 ++-- src/Model/Item.php | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/BBCode.md b/doc/BBCode.md index 3fe599130..43b777727 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 a978c4f45..7caef5d0a 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 8dce7a788..28a45fbf0 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();