Fixing issue with repeated escape (backslash) chars and markdown