Fixed MD to HTML creation