mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-12 05:38:55 +09:00
Add nice comment
This commit is contained in:
parent
03bab95a1f
commit
9c7c7a956c
@ -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 New Issue
Block a user