org-mime.el: Correct element matching regex
commitc6a4116c62630a02b8a394c29daa99ef87a4cf8a
authorJon Miller <jonebird@gmail.com>
Fri, 12 Dec 2014 20:27:49 +0000 (12 12:27 -0800)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 14 Dec 2014 08:32:31 +0000 (14 09:32 +0100)
tree680af74ef9a55c1d310831038ef42b4f47d15a0d
parentdbc988e27203ddd1a18c28e773a2ddca188a7e2d
org-mime.el: Correct element matching regex

* org-mime.el (org-mime-change-element-style): Correctly capture the
  HTML element instead of partially.

Passing element of "p" would end up matching and altering "pre"
elements as well.  Need to properly anchor the regex to HTML elements.

TINYCHANGE
contrib/lisp/org-mime.el