@ -670,7 +670,8 @@ const Component = Backbone.Model.extend(Styleable).extend(
const attributes = this.getAttrToHTML();
for (let attr in attributes) {
const value = attributes[attr].replace(/"/g, '"');
const val = attributes[attr];
const value = isString(val) ? val.replace(/"/g, '"') : val;
if (!isUndefined(value)) {
attrs.push(`${attr}="${value}"`);