Added escape sequence for square brackets in markup