fix bug when region doesn't in newline
don't escape code blocks