Bugfix for richText/markdown reader