From 19133bf440473c44418d0c8d7e1694a77bdd7ad7 Mon Sep 17 00:00:00 2001 From: Floorb <132411956+Neetpone@users.noreply.github.com> Date: Sat, 27 May 2023 17:34:01 -0400 Subject: [PATCH] fix: try something new for coloredtext --- includes/Pastedown.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Pastedown.php b/includes/Pastedown.php index 6d8084e..72172ae 100644 --- a/includes/Pastedown.php +++ b/includes/Pastedown.php @@ -16,7 +16,7 @@ class Pastedown extends ParsedownExtra { if (preg_match('/^>[ ]?(.*)/', $Line['text'], $matches)) { $Block = array( - 'markup' => "" . pp_html_escape($matches[0]) . "", + 'markup' => "
" . pp_html_escape($matches[0]) . "
", 'extent' => strlen($matches[0]) ); @@ -29,7 +29,7 @@ class Pastedown extends ParsedownExtra { if (preg_match('/^<[ ]?(.*)/', $Line['text'], $matches)) { $Block = array( - 'markup' => "" . pp_html_escape($matches[0]) . "", + 'markup' => "
" . pp_html_escape($matches[0]) . "
", 'extent' => strlen($matches[0]) ); @@ -42,7 +42,7 @@ class Pastedown extends ParsedownExtra { if (preg_match('/^@[ ]?(.*)/', $Line['text'], $matches)) { $Block = array( - 'markup' => "" . pp_html_escape($matches[0]) . "", + 'markup' => "
" . pp_html_escape($matches[0]) . "
", 'extent' => strlen($matches[0]) );