enable richtext for preview in search