diff --git a/md4tj_parse.el b/md4tj_parse.el index ff10ab8..982ee6c 100644 --- a/md4tj_parse.el +++ b/md4tj_parse.el @@ -13,7 +13,7 @@ (defun md4tj-begin-tag (tag &optional attrs) "Return beginning html tag for TAG with optional ATTRS." (concat "<" tag - (mapconcat 'identity (cl-map 'listp (lambda (l) (concat " " (nth 0 l) "=" (nth 1 l))) attrs) "") + (mapconcat 'identity (cl-map 'listp (lambda (l) (concat " " (nth 0 l) "=" "\"" (nth 1 l) "\"")) attrs) "") ">")) (defun md4tj-end-tag (tag) diff --git a/test_file.html b/test_file.html index b7c2d9a..878c267 100644 --- a/test_file.html +++ b/test_file.html @@ -4,8 +4,8 @@

Hello world!

Hello world!


-

Example website

-

Example

+

Example website

+

Example image