diff --git a/md4tj_parse.el b/md4tj_parse.el index 4b72808..01b2803 100644 --- a/md4tj_parse.el +++ b/md4tj_parse.el @@ -62,6 +62,7 @@ "Process CODEBLOCK and return html." (cond ((string-match "^#+ " codeblock) (md4tj-process-header (md4tj-process-line codeblock))) ((string= "---" codeblock) "
") + ((= (length codeblock) 0) "
") (t (md4tj-process-paragraph (md4tj-process-line codeblock))))) (defun md4tj-next-block () diff --git a/test_file.html b/test_file.html index 50b2422..6c47304 100644 --- a/test_file.html +++ b/test_file.html @@ -2,6 +2,6 @@

Hello world!

Hello world!

Hello world!

-

+

Example website

Example image