\n' + text.split('\n\n').map(s => {
const lines = s.split('\n');
const first = lines[0];
const rest = lines.slice(1).join('\n');
if (/^\d+\./.test(first)) return '' + first + '
' + rest.replace(/\n/g, '
') + '
';
if (first === first.toUpperCase() && first.length > 5) return '' + first + '
' + rest.replace(/\n/g, '
') + '
';
return '' + s.replace(/\n/g, '
') + '
';
}).join('\n') + '\n
\n