diff --git a/source/class/cv/ui/structure/pure/Web.js b/source/class/cv/ui/structure/pure/Web.js index 849134cb2a0..ab633054b61 100644 --- a/source/class/cv/ui/structure/pure/Web.js +++ b/source/class/cv/ui/structure/pure/Web.js @@ -73,6 +73,9 @@ qx.Class.define('cv.ui.structure.pure.Web', { // overridden _getInnerDomString() { let webStyle = this.getStyle(); + if (webStyle !== '' && webStyle.startsWith('style="')) { + webStyle = webStyle.substring(7, webStyle.length-1); + } if (this.getWidth()) { webStyle += 'width:' + this.getWidth() + ';'; } else { @@ -83,7 +86,7 @@ qx.Class.define('cv.ui.structure.pure.Web', { webStyle += 'height:' + this.getHeight() + ';'; } if (this.getFrameborder() === false) { - webStyle += 'border: 0px ;'; + webStyle += 'border: 0px;'; } if (this.getBackground()) { webStyle += 'background-color:' + this.getBackground() + ';';