Added jinja2 filter to encode content passed to social sites