Skip to content

Commit

Permalink
📝 Fix iframe's style instruction invalid quotes
Browse files Browse the repository at this point in the history
Closes #726
  • Loading branch information
baptisteArno committed Aug 30, 2023
1 parent 23b629f commit 90c8c80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const IframeSnippet = ({ widthLabel, heightLabel }: Props) => {
const { typebot } = useTypebot()
const src = `${getViewerUrl()}/${typebot?.publicId}`
const code = prettier.format(
`<iframe src="${src}" style="border: none; width='${widthLabel}'; height='${heightLabel}'"></iframe>`,
`<iframe src="${src}" style="border: none; width=${widthLabel}; height=${heightLabel}"></iframe>`,
{ parser: 'html', plugins: [parserHtml] }
)

Expand Down

0 comments on commit 90c8c80

Please sign in to comment.