Jelajahi Sumber

Merge branch 'maint'

Nicolas Goaziou 10 tahun lalu
induk
melakukan
c262dd7f14
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      contrib/lisp/org-mime.el

+ 1 - 1
contrib/lisp/org-mime.el

@@ -111,7 +111,7 @@
 ;; example hook, for setting a dark background in <pre style="background-color: #EEE;"> elements
 (defun org-mime-change-element-style (element style)
   "Set new default htlm style for <ELEMENT> elements in exported html."
-  (while (re-search-forward (format "<%s" element) nil t)
+  (while (re-search-forward (format "<%s\\>" element) nil t)
     (replace-match (format "<%s style=\"%s\"" element style))))
 
 (defun org-mime-change-class-style (class style)