/** * Avoid to bug remark parse joining html and paragraph. * * ``` *

node.js ReleaseNote

* Node v0.12.3リリース * ``` * * to * * ``` *

node.js ReleaseNote

* * Node v0.12.3リリース * ``` */ export const addLineBreakAfterHTML = (text: string): string => { const PATTERN = /(<\/span><\/p>)\n([^\n])/g; return text.replace(PATTERN, "$1\n\n$2"); };