Apply Greg Bognar's fix for (markdown) with an active region.
tree4070a0b9c80bafb0725daa49599a4fd4008cce43
-rw-r--r-- 21922 markdown-mode.el