We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, thank you for your work.
Let's assume the following html.
$doc = new \nokogiri($htmlContent); $doc->get('td')->toTextArray();
As a result I got an error with two items only, empty td is not included into result array. I tried $doc->get('td, td:empty') but it didn't help.
Is it possible to make some changes to got an array with this item and [#text] value equal null or emty?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, thank you for your work.
Let's assume the following html.
$doc = new \nokogiri($htmlContent);
$doc->get('td')->toTextArray();
As a result I got an error with two items only, empty td is not included into result array.
I tried $doc->get('td, td:empty') but it didn't help.
Is it possible to make some changes to got an array with this item and
[#text] value equal null or emty?
The text was updated successfully, but these errors were encountered: