Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 16, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

parisholley and others added 30 commits May 3, 2016 12:11
Correct cleanupInput option section.
Correct spelling.
…tChild, countChildren, getChildren, hasChildren
This change will run the clear() function to empty any caches if an attribute has been changed, added, or removed.
All composer based/distributed libraries should include a local gitignore to prevent the vendor folder from being included. 

I've included what I would call the default minimum; I was considering leaving composer.lock off the list, but as it's not currently synced it should be included here.
While the Tag test doesn't test this issue, I think it's a good addition. This particular bug/issue isn't triggered until you ask the library to 'render' the html for you.

The HtmlTest does infact test this bug and when run on current master it WILL fail; however, it passes with the changes suggested.
paquettg and others added 30 commits July 15, 2020 01:18
related: #222

related: !225

```html
<html>
  <head></head>
  <body class="" style="" data-gr-c-s-loaded="true">
123
   <a>456789</a>
   <span>101112</span>
</body>
<html>
```

```javascript
document.body.innerText;
```

output
```
123 456789 101112
```

```PHP
$html = <<<EOF
  <body class="" style="" data-gr-c-s-loaded="true">
123
   <a>456789</a>
   <span>101112</span>
</body>
EOF;
$dom = new Dom();
$dom->load($html);
echo $dom->innerText;
```

asset output
```
123 456789 101112
```
[dev/3.0.0]feature: innerText property support
Fixed Issue with encoding 227
Fixes #247 numbers in comments can cause php fatal errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.