diff --git a/index.js b/index.js index 2c7b66f..306d1aa 100755 --- a/index.js +++ b/index.js @@ -31,7 +31,9 @@ module.exports = function(input){ if(lines[ i + 1 ] === '' && (i === 0 || lines[ i - 1 ] === '')){ html += popHTMLStack(-1, previous_line_num_tabs); previous_line_num_tabs = -1; - if( i > 0 ) { + if(lines[i].indexOf('.') > 0){ + html += '

' + lines[i] + '

\n'; + } else if( i > 0 ) { html += '

' + lines[i] + '

\n'; } else { html += '

' + lines[i] + '

\n';