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