From a70e143dc43e1b90ddfd2a9acfb57f17dd9a1f1f Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Mon, 15 Aug 2016 01:00:49 +0200 Subject: [PATCH] [HTMLUtils] Remove value from 'required' attribute The 'required' attribute has no value, see https://www.w3.org/TR/html5/forms.html#the-required-attribute --- lib/HTMLUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/HTMLUtils.php b/lib/HTMLUtils.php index 349da14..3745c34 100644 --- a/lib/HTMLUtils.php +++ b/lib/HTMLUtils.php @@ -93,7 +93,7 @@ CARD; $additionalInfoString = ""; if(isset($inputEntry['required'])) { - $additionalInfoString .= " required=\"required\""; + $additionalInfoString .= " required"; } if(isset($inputEntry['pattern'])) {