Skip to content
Snippets Groups Projects
Commit 9c7c7a95 authored by syuilo's avatar syuilo
Browse files

Add nice comment

parent 03bab95a
No related branches found
No related tags found
No related merge requests found
......@@ -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>');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment