From e2f8fbc4a9d74494106ec8b5e206fc08094110a3 Mon Sep 17 00:00:00 2001 From: Klaus Date: Sun, 10 Mar 2024 18:54:38 +0000 Subject: [PATCH] Convert both double and single quotes --- ruhrpottmetaller/Data/LowLevel/String/RmString.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruhrpottmetaller/Data/LowLevel/String/RmString.php b/ruhrpottmetaller/Data/LowLevel/String/RmString.php index be937da..4fdf0db 100644 --- a/ruhrpottmetaller/Data/LowLevel/String/RmString.php +++ b/ruhrpottmetaller/Data/LowLevel/String/RmString.php @@ -36,7 +36,7 @@ public function hasSpecialFirstChar(): bool public function filter(): RmString { - $this->value = htmlentities($this->value); + $this->value = htmlentities($this->value, ENT_QUOTES); return $this; } }