@@ -183,17 +183,17 @@ func (ut *RenderUtils) RenderLabel(label *issues_model.Label) template.HTML {
183183 textColor , scopeColor , scopeHTML ,
184184 textColor , itemColor , itemHTML ,
185185 orderHTML )
186- } else {
187- // <scope> | <label>
188- return htmlutil .HTMLFormat (`<span class="ui label %s scope-parent" data-tooltip-content title="%s">` +
189- `<div class="ui label scope-left" style="color: %s !important; background-color: %s !important">%s</div>` +
190- `<div class="ui label scope-right" style="color: %s !important; background-color: %s !important">%s</div>` +
191- `</span>` ,
192- extraCSSClasses , descriptionText ,
193- textColor , scopeColor , scopeHTML ,
194- textColor , itemColor , itemHTML ,
195- )
196186 }
187+
188+ // <scope> | <label>
189+ return htmlutil .HTMLFormat (`<span class="ui label %s scope-parent" data-tooltip-content title="%s">` +
190+ `<div class="ui label scope-left" style="color: %s !important; background-color: %s !important">%s</div>` +
191+ `<div class="ui label scope-right" style="color: %s !important; background-color: %s !important">%s</div>` +
192+ `</span>` ,
193+ extraCSSClasses , descriptionText ,
194+ textColor , scopeColor , scopeHTML ,
195+ textColor , itemColor , itemHTML ,
196+ )
197197}
198198
199199// RenderEmoji renders html text with emoji post processors
0 commit comments