empty attributes are appended with =""
See original GitHub issueOriginal element:
<div class="user-menu" dropdown-toggle>
After using cheerio on file:
<div class="user-menu" dropdown-toggle="">
For some reason cheerio is appending all empty attributes with =""
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Solved: Need to append/add values to empty attributes for
I want append values to some of empty attribute's values of flowfile from processor to existing processor of JSON data .Please can u...
Read more >What is the difference between .empty().append() and .html ...
One might assume that html() is backed by innerHTML and append() is backed by appendChild() , of which case, there are differences, namely...
Read more >Fill Empty Attribute
Select Attribute: Select an attribute from the dropdown to be filled. · First try to fill it with value from: Select a new...
Read more >Python append empty element to list | Example code
Use the Python List append() method to append an empty element into a List. Use None for the “empty” value. It indicates that...
Read more >Python Empty List Tutorial – How to Create an ...
You can add elements to an empty list using the methods append() and insert() : append() adds the element to the end of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please reopen this issue, it’s still broken!
Maybe interested in https://github.com/cheeriojs/dom-serializer/pull/72