def buildFeatured(self, b, data):
        s = self.style
        for item in data.items:
            if item.category:
                b.a(href='/%s-%s' % (self.C.PARAM_CATEGORY, item.category), class_=self.C.CLASS_CATEGORYTHUMB)
                b.h5(fontsize=s.categorySize, fontweight=s.categoryWeight, lineheight=s.categoryLineHeight,
                     color=s.categoryColor, margintop=s.categoryMarginTop, display=s.categoryDisplay)
                b.text(item.category)
                b._h5()
                b._a()
            b.a(href=(self.C.PARAM_ARTICLE, item.id) % '/%s-%s', class_=self.C.CLASS_NAME)
            b.h2(fontsize=s.nameSize, fontweight=s.nameWeight, lineheight=s.nameLineHeight, 
                 color=s.nameColor, marginbottom=s.nameMarginBottom, display=s.nameDisplay,
                 margintop=s.nameMarginTop)
            b.text(item.name)
            b._h2()
            b._a()
            if isinstance(item.topic, basestring):
                b.text(item.topic)
            elif item.topic is not None: # Test on element. Topic elements need to be defined in global style.
                self.buildElement(b, item.topic)
dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/components/_legacy/featured.py/FeaturedByTextList.buildFeatured/swapped operands of `%`