Add 'required' to the list of boolean attributes

pull/6566/head
Aleksander Machniak 6 years ago
parent d3da7fad5a
commit aa7e2febd1

@ -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');
/**

Loading…
Cancel
Save