mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
Disable parsing of tab characters
This commit is contained in:
@@ -15,7 +15,7 @@ function parse(node) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
node.innerHTML = marked(node.innerHTML.replace(/<br>/gi, '\n'), { breaks: true, gfm: false });
|
node.innerHTML = marked(node.innerHTML.replace(/<br>/gi, '\n').replace(/\t/gi, ''), { breaks: true, gfm: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user