From fd4fc70134d79205e62d74625bb96a5877aa9008 Mon Sep 17 00:00:00 2001 From: Aikakakah <145503852+Aikakakah@users.noreply.github.com> Date: Sat, 14 Dec 2024 19:26:23 -0500 Subject: [PATCH] Update index.js --- js/index.js | 82 ++--------------------------------------------------- 1 file changed, 3 insertions(+), 79 deletions(-) diff --git a/js/index.js b/js/index.js index 31ba71b..0b5f955 100644 --- a/js/index.js +++ b/js/index.js @@ -72,10 +72,6 @@ function parseBBCode(text) { // Bolditalic parsedText = parsedText.replace(/\[bolditalic](.*?)\[\/bolditalic]/gis, '$1'); - // Bullet - //parsedText = parsedText.replace(/\n/g, '
'); - //parsedText = parsedText.replace(/\[\/heading]
/g, '[/heading]'); - // Headers parsedText = parsedText.replace(/\[head=1](.*?)\[\/head]/gis, '$1'); parsedText = parsedText.replace(/\[head=2](.*?)\[\/head]/gis, '$1'); @@ -86,31 +82,10 @@ function parseBBCode(text) { return '' + p2 + ''; }); - // Bullet• - //parsedText = parsedText.replace(/\[\/bullet](.*?)/gis, '