diff --git a/sao/src/view/form.js b/sao/src/view/form.js
index 8809429791..2d2c53b401 100644
--- a/sao/src/view/form.js
+++ b/sao/src/view/form.js
@@ -1030,7 +1030,8 @@ function eval_pyson(value){
if (domains.length) {
domains.map(function(d, i) {
var name = d[0];
- this.label.text(name + ' ');
+ this.label.append(jQuery('
'));
+ this.label.append(name + ' ');
jQuery('', {
'class': 'badge',
}).text(counter[i]).appendTo(this.label);