mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 14:47:30 -06:00
Use the right quotes
This commit is contained in:
+1
-1
@@ -429,7 +429,7 @@ export class Sharing {
|
||||
): string {
|
||||
const embedUrl = Sharing.getEmbeddedUrl(config, root, isReadOnly, extraOptions);
|
||||
// The attributes must be double quoted, the full url's rison contains single quotes
|
||||
return `<iframe width='800px' height='200px' src='${embedUrl}'></iframe>`;
|
||||
return `<iframe width="800px" height="200px" src="${embedUrl}"></iframe>`;
|
||||
}
|
||||
|
||||
private static getEmbeddedUrl(config: any, root: string, readOnly: boolean, extraOptions: object): string {
|
||||
|
||||
Reference in New Issue
Block a user