question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

empty attributes are appended with =""

See original GitHub issue

Original 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:closed
  • Created 8 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
timaschewcommented, May 4, 2016

Please reopen this issue, it’s still broken!

0reactions
mankinscommented, Nov 5, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found