diff --git a/frontend/src/lib/components/DisplayResult.svelte b/frontend/src/lib/components/DisplayResult.svelte
index ece57a43f0..80cfbe1415 100644
--- a/frontend/src/lib/components/DisplayResult.svelte
+++ b/frontend/src/lib/components/DisplayResult.svelte
@@ -279,15 +279,15 @@
JSON is too large to be displayed in full.
+ {:else if typeof result == 'string'}
+
{result}
+
+
+
{:else}
-
- {#if typeof result == 'string'}
-
-
-
- {/if}
+
{/if}
{/if}
{:else}
@@ -320,14 +320,15 @@
>
JSON is too large to be displayed in full.
- {:else}
- FOO
-
- {#if typeof result == 'string'}
+ {:else if typeof result == 'string'}
+