From 205859b52e17537baaec2a62892513dac8b8b61d Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 11 Dec 2024 19:47:33 +0000 Subject: [PATCH] Added bgcolor bbcode. --- src/mami.js/parsing.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mami.js/parsing.js b/src/mami.js/parsing.js index 014dc86..cab838a 100644 --- a/src/mami.js/parsing.js +++ b/src/mami.js/parsing.js @@ -49,6 +49,12 @@ const UmiBBCodes = [ stripArg: ';:{}<>&|\\/~\'"', replace: '{1}', }, + { + tag: 'bgcolor', + hasArg: true, + stripArg: ';:{}<>&|\\/~\'"', + replace: '{1}', + }, { tag: 'img', text: 'Image',