diff --git a/packages/cloudflare/src/db/playground-toolbar.ts b/packages/cloudflare/src/db/playground-toolbar.ts index 0ee07c9..9ef4644 100644 --- a/packages/cloudflare/src/db/playground-toolbar.ts +++ b/packages/cloudflare/src/db/playground-toolbar.ts @@ -11,12 +11,12 @@ */ export interface PlaygroundToolbarConfig { - /** When the playground was created (ISO string) */ - createdAt: string; - /** TTL in seconds */ - ttl: number; - /** Whether edit mode is currently active */ - editMode: boolean; + /** When the playground was created (ISO string) */ + createdAt: string; + /** TTL in seconds */ + ttl: number; + /** Whether edit mode is currently active */ + editMode: boolean; } const RE_AMP = /&/g; @@ -25,9 +25,9 @@ const RE_LT = //g; export function renderPlaygroundToolbar(config: PlaygroundToolbarConfig): string { - const { createdAt, ttl, editMode } = config; + const { createdAt, ttl, editMode } = config; - return ` + return `
@@ -53,7 +53,7 @@ export function renderPlaygroundToolbar(config: PlaygroundToolbarConfig): string - + Deploy your own @@ -333,9 +333,9 @@ export function renderPlaygroundToolbar(config: PlaygroundToolbarConfig): string } function escapeAttr(str: string): string { - return str - .replace(RE_AMP, "&") - .replace(RE_QUOT, """) - .replace(RE_LT, "<") - .replace(RE_GT, ">"); + return str + .replace(RE_AMP, "&") + .replace(RE_QUOT, """) + .replace(RE_LT, "<") + .replace(RE_GT, ">"); }