safe_html transform has to be called with 'assignment context' instead of 'display context'