diff --git a/md4tj.el b/md4tj.el index ddb6a9e..ba3033d 100644 --- a/md4tj.el +++ b/md4tj.el @@ -63,11 +63,11 @@ "Process all inline elements of the LINE, return HTML." ;; Finally strikethrough (replace-regexp-in-string - "~~\\(.*\\)~~" + "~~\\(.*?\\)~~" "\\1" ;; Then highlight (replace-regexp-in-string - "==\\(.*\\)==" + "==\\(.*?\\)==" "\\1" ;; Then links (replace-regexp-in-string @@ -83,11 +83,11 @@ (concat (md4tj-begin-tag "video" (list '("src" "\\2") '("type" "video/webm") '("controls" "true"))) "\\1" (md4tj-end-tag "video")) ;; Then emphasis (replace-regexp-in-string - "\\*\\(.*\\)\\*" + "\\*\\(.*?\\)\\*" "\\1" ;; Then strong (replace-regexp-in-string - "\\*\\*\\(.*\\)\\*\\*" + "\\*\\*\\(.*?\\)\\*\\*" "\\1" ;; First code (replace-regexp-in-string