quick fixes (#2404)
This commit is contained in:
@@ -276,7 +276,8 @@ function formatText(text) {
|
||||
const container = document.createElement('div');
|
||||
|
||||
// Split the text into lines
|
||||
const lines = text.split('\n');
|
||||
const textWithoutComments = text.replace(/<!--[\s\S]*?-->/g, '');
|
||||
const lines = textWithoutComments.split('\n');
|
||||
let currentList = null;
|
||||
|
||||
lines.forEach(line => {
|
||||
|
||||
Reference in New Issue
Block a user