see earlier comment about mark_safe