switching between AsciiDoc and other modes fixed
switching between AsciiDoc and other modes fixed