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:
Weston Ruter 2018-01-21 08:00:42 +00:00
parent 4fdd686e7b
commit 10b459f8e8
1 changed files with 1 additions and 1 deletions

View File

@ -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,