Code Editor: Disable attr-value-double-quotes
HTMLHint rule since too strict for user input.
Using single-quoted attribute values is not in any way invalid HTML. Amends [41376]. Props sasiddiqui. See #12423. Fixes #42802. git-svn-id: https://develop.svn.wordpress.org/trunk@42531 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4fdd686e7b
commit
10b459f8e8
@ -3250,7 +3250,7 @@ function wp_enqueue_code_editor( $args ) {
|
||||
'htmlhint' => array(
|
||||
'tagname-lowercase' => true,
|
||||
'attr-lowercase' => true,
|
||||
'attr-value-double-quotes' => true,
|
||||
'attr-value-double-quotes' => false,
|
||||
'doctype-first' => false,
|
||||
'tag-pair' => true,
|
||||
'spec-char-escape' => true,
|
||||
|
Loading…
Reference in New Issue
Block a user