def _quoteattr(data, entities={}):
    entities['\n']='&#10;'
    entities['\r']='&#12;'
    data = _escape(data, entities)
    if '"' in data:
        if "'" in data:
            data = '"%s"' % data.replace('"', "&quot;")
        else:
            data = "'%s'" % data
    else:
        data = '"%s"' % data
    return data
Send HTTP PATCH for a resource which doesn't exist (should be
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf/element.py/_quoteattr--crossover with--dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanContentTypes.test_patch_new_resource_html