Add nice comment

This commit is contained in:
syuilo 2017-03-01 14:22:56 +09:00
parent 0ec01baa3b
commit 38bc6fba27

View file

@ -37,6 +37,7 @@ module.exports = (tokens, shouldBreak) => {
}
}).join('');
// Remove needless whitespaces
text = text
.replace(/ <code>/g, '<code>').replace(/<\/code> /g, '</code>')
.replace(/<br><code><pre>/g, '<code><pre>').replace(/<\/code><\/pre><br>/g, '</code></pre>');