forked from cheeriojs/cheerio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serializeArray should not ignore input elements without value attributes
serializeArray ignores input elements without value attributes. The value attribute is optional for most types of input elements, however: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-value In this case, input elements without a value attribute should be parsed by this function, and default to an empty string value.
- Loading branch information
1 parent
48721e8
commit 692e301
Showing
2 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters