teleporthq/teleport-code-generators

Image resolution plugin in plain html-css generator is missing out the remaining values

JayaKrishnaNamburu opened this issue · 0 comments

For example, if we input the below value in the UIDL

{
  "backgroundImage": {
    "type": "static",
    "content": "url('/playground_assets/t-100-wireframe-opacity-1500w.png'),linear-gradient(to right, #3D629E 0%, #5981B8 100%);"
  }
}

The generated code in the HTML and CSS will have only

background-image: url("public/playground_assets/t-100-wireframe-opacity-1500w.png");

https://github.com/teleporthq/teleport-code-generators/blob/development/packages/teleport-project-generator-html/src/plugin-image-resolution.ts#L126