fixed the bug reported at http://stackoverflow.com/q/14487718/559676
when in parent mode, should not print code or text chunks
bump version