fixes textile parsing with "document" and other in text

Otherwise only the document will be parsed but no #, or other OP specific textile extensions