mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 21:24:35 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user