Strip <div> and <span> tags from rich-text email reply citations

This commit is contained in:
Jeremy Dormitzer 2020-05-18 11:52:32 -04:00
parent 293b9aa504
commit 773e055e8e

View File

@ -4074,7 +4074,9 @@ Support sending rich-text emails via Markdown:
(unless
(= 0
(call-process-region (point-min) (point-max) "pandoc" t t nil
"--quiet" "-f" "html" "-t" "gfm"))
"--quiet"
"-f" "html-native_divs-native_spans"
"-t" "gfm"))
(error "HTML to mardkwon conversion failed: %s"
(buffer-substring (point-min) (point-max))))
(buffer-substring (point-min) (point-max))))