Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Aikakakah authored Dec 15, 2024
1 parent d28cb4b commit 512e7e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ function parseBBCode(text) {
});

// Bullet
//parsedText = parsedText.replace(/\[\/bullet](.*?)/gis, '• $1');
//parsedText = parsedText.replace(/\[\/bullet1](.*?)\/n/gis, '• $1');
//parsedText = parsedText.replace(/\[\/bullet2](.*?\/n)/gis, '• $1');
parsedText = parsedText.replace(/\[\/bullet](.*?)<br>/gis, '• $1');

// Color
parsedText = parsedText.replace(/\[color=(.*?)](.*?)\[\/color]/gis, '<span style="color:$1;">$2</span>');
Expand Down

0 comments on commit 512e7e6

Please sign in to comment.