Fixes issues with markdown rendering
Merge pull request #1820 from twokul/markdown-issues

Fixes issues with markdown rendering