def METHOD_NAME():
    result = Markup("<em>%(foo)s</em>") % {"foo": "<foo>"}
    expect = Markup(u"<em>&lt;foo&gt;</em>")
    assert result == expect
    result = Markup("<em>%(foo)s:%(bar)s</em>") % {"foo": "<foo>", "bar": "<bar>"}
    expect = Markup(u"<em>&lt;foo&gt;:&lt;bar&gt;</em>")
    assert result == expect