From 0abbb49b80384860f1b2f435b213fdd37934e6a5 Mon Sep 17 00:00:00 2001 From: "stephan.kasdorf" Date: Mon, 13 Oct 2025 12:27:59 +0200 Subject: [PATCH] Enhance `formattributes.php` with new attributes for improved functionality. --- core/c/formattributes.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/c/formattributes.php b/core/c/formattributes.php index 8a52ade..75b5353 100755 --- a/core/c/formattributes.php +++ b/core/c/formattributes.php @@ -73,6 +73,9 @@ class FormAttributes $this->_element = str_replace(' min="MIN"', '', $this->_element); $this->_element = str_replace(' max="MAX"', '', $this->_element); $this->_element = str_replace(' href="HREF"', '', $this->_element); + $this->_element = str_replace(' src="SRC"', '', $this->_element); + $this->_element = str_replace(' alt="ALT"', '', $this->_element); + $this->_element = str_replace(' style="STYLE"', '', $this->_element); $this->_element = str_replace(' step="STEP"', '', $this->_element); $this->_element = str_replace(' tabindex="TABINDEX"', '', $this->_element); $this->_element = str_replace(' SPEECH', '', $this->_element); @@ -95,6 +98,7 @@ class FormAttributes $this->_element = str_replace(' VALUE', '', $this->_element); $this->_element = str_replace(' PATTERN', '', $this->_element); $this->_element = str_replace('ANY', '', $this->_element); + $this->_element = str_replace('data-sitekey="DATA-SITEKEY"', '', $this->_element); } /**