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 d5ec679 commit d28cb4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ 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](.*?)/gis, '• $1');
//parsedText = parsedText.replace(/\[\/bullet1](.*?)\/n/gis, '• $1');
//parsedText = parsedText.replace(/\[\/bullet2](.*?\/n)/gis, '• $1');

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

0 comments on commit d28cb4b

Please sign in to comment.