Call html_safe on the inner rendered item if required, otherwise it gets escaped.