Conditionally decode html entities based on r.config.decode_html_entities.