[8.x] Fix auto-generated Markdown views

Merged
JB
5y ago
+22-12

This fixes a bug with the mail:make -m command not correctly generating the Markdown view.