Dirty hack to let white-space for documents