Editoren erweitert

This commit is contained in:
Matthias Grief
2024-12-23 15:00:06 +01:00
parent ed795e6996
commit 9ead25f106
3 changed files with 71 additions and 44 deletions

View File

@@ -514,9 +514,6 @@ class TopicData
public function getFinishedArticle(): string
{
$a = str_replace('$TOPICPATH', Config::getTopicDirectory($this->subjectId, $this->id) . "images", $this->article);
$a = str_replace("\r\n", "<br>", $a);
$a = str_replace("\r", "<br>", $a);
$a = str_replace("\n", "<br>", $a);
return $a;
}