From 230aeb6abda110f3a4ff8016a28ae5f31818617d Mon Sep 17 00:00:00 2001 From: Floorb <132411956+Neetpone@users.noreply.github.com> Date: Sat, 27 May 2023 12:00:03 -0400 Subject: [PATCH] fix: better green/redtext --- includes/Pastedown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Pastedown.php b/includes/Pastedown.php index 5ab930b..6d8084e 100644 --- a/includes/Pastedown.php +++ b/includes/Pastedown.php @@ -7,7 +7,7 @@ class Pastedown extends ParsedownExtra { public function __construct() { unset($this->BlockTypes['>']); $this->InlineTypes['>'] = ['Greentext']; - array_unshift($this->BlockTypes['<'], 'Redtext'); + array_unshift($this->InlineTypes['<'], 'Redtext'); $this->InlineTypes['@'] = ['Purpletext']; }