def write_starttag(self, tag, attrs):
        if attrs:
            self.result += '<%s %s>' % (tag, attrs2xml(attrs))
        else:
            self.result += '<%s>' % tag
dataset/ETHPy150Open lsaffre/lino/lino/utils/mytidylib.py/MyHTMLParser.write_starttag/original