Fixed a side effect of MarkdownMode()