Check attribute. Especially designed for avoiding URLs in the form:
        javascript:myXSSFunction();

def handle_attribute_value(self, value):
        """Check attribute. Especially designed for avoiding URLs in the form:
        javascript:myXSSFunction();"""
        if self.re_js.match(value) or self.re_vb.match(value):
            return ''
        return value