mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
Add nice comment
This commit is contained in:
parent
0ec01baa3b
commit
38bc6fba27
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ module.exports = (tokens, shouldBreak) => {
|
||||||
}
|
}
|
||||||
}).join('');
|
}).join('');
|
||||||
|
|
||||||
|
// Remove needless whitespaces
|
||||||
text = text
|
text = text
|
||||||
.replace(/ <code>/g, '<code>').replace(/<\/code> /g, '</code>')
|
.replace(/ <code>/g, '<code>').replace(/<\/code> /g, '</code>')
|
||||||
.replace(/<br><code><pre>/g, '<code><pre>').replace(/<\/code><\/pre><br>/g, '</code></pre>');
|
.replace(/<br><code><pre>/g, '<code><pre>').replace(/<\/code><\/pre><br>/g, '</code></pre>');
|
||||||
|
|
Loading…
Reference in a new issue