From b0e8ca684428f2426d99fcf22ec6fe0e38d1bb1e Mon Sep 17 00:00:00 2001 From: otrok7 <50595291+otrok7@users.noreply.github.com> Date: Sun, 2 Jun 2024 11:30:33 +0200 Subject: [PATCH] do a slightly better job cleaning up the HTML --- bmlt-meeting-list.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bmlt-meeting-list.php b/bmlt-meeting-list.php index e3be0d2..b030156 100644 --- a/bmlt-meeting-list.php +++ b/bmlt-meeting-list.php @@ -1895,13 +1895,17 @@ function write_single_meeting($meeting_value, $template, $analysedTemplate, $are $search_strings = array(); $replacements = array(); $clean_up = array( - '

' => '', '' => '', ' ' => '', - '()' => '', + '' => '', + ' ' => '', + '' => '', + ' ' => '', ' ' => ' ', ' ' => ' ', ' ' => ' ', + '

' => '', + '()' => '', '
' => 'line_break', '
' => 'line_break', 'line_break line_break' => '
', @@ -1910,6 +1914,7 @@ function write_single_meeting($meeting_value, $template, $analysedTemplate, $are '
,' => '
', ',
' => '
', ',
' => '
', + '

,' => '

', ", , ," => ",", ", *," => ",", ", ," => ",",