From aa7e2febd1802d97c80a4f9180613b6998ee1f02 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 18 Dec 2018 12:46:23 +0100 Subject: [PATCH] Add 'required' to the list of boolean attributes --- program/lib/Roundcube/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php index 04a8495fa..1b175b3fd 100644 --- a/program/lib/Roundcube/html.php +++ b/program/lib/Roundcube/html.php @@ -33,7 +33,7 @@ class html public static $lc_tags = true; public static $common_attrib = array('id','class','style','title','align','unselectable','tabindex','role'); public static $containers = array('iframe','div','span','p','h1','h2','h3','ul','form','textarea','table','thead','tbody','tr','th','td','style','script','a'); - public static $bool_attrib = array('checked','multiple','disabled','selected','autofocus','readonly'); + public static $bool_attrib = array('checked','multiple','disabled','selected','autofocus','readonly','required'); /**