comments
This commit is contained in:
parent
16fdac22cd
commit
af216ac962
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
})
|
})
|
||||||
.then(text => {
|
.then(text => {
|
||||||
const mainContent = document.getElementById('mainContent');
|
const mainContent = document.getElementById('mainContent');
|
||||||
mainContent.innerHTML = marked.parse(text); // Changed to marked.parse
|
mainContent.innerHTML = marked.parse(text);
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error('Error loading content:', error);
|
console.error('Error loading content:', error);
|
||||||
|
|
Loading…
Add table
Reference in a new issue