From a0b7b23eccc4d47b4ab62e99a41f8b5c93a1d6c0 Mon Sep 17 00:00:00 2001 From: "Kreinsen, Moritz" <moritz.kreinsen@uni-hamburg.de> Date: Sun, 12 Mar 2023 18:41:50 +0000 Subject: [PATCH] Update index.php --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 213cbb6..4d2a4ac 100644 --- a/index.php +++ b/index.php @@ -12,11 +12,11 @@ <div class="memory-card" data-framework="aurelia"> <?php - $text = "Beispieltext"; - $style = "background-color: #FFCCCB" + $text = 'Beispieltext'; + $style = 'background-color: #FFCCCB' $svg = "<svg xmlns='http://www.w3.org/2000/svg' width='100' height='50'><text x='10' y='30'>$text</text></svg>"; $svgData = base64_encode($svg); - $src = "data:image/svg+xml;base64,$svgData"; + $src = 'data:image/svg+xml;base64,$svgData'; $imgTag = "<img class='front-face' src='$src' alt='$text' style='$style'/>"; echo $imgTag; ?> -- GitLab