bakame-php / bakame-php/html-table
optionally return HTML for td content
- Dominant language
- PHP
- Stars
- 11
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Feature Request
| Q | A |
|-------------|--------|
| New Feature | yes |
| BC Break | no |
### Proposal
I would like the HTML in a td to be returned. This could be done by passing an option to parseFile:
```php
$sites = Parser::new()
->ignoreTableHeader()
->tableHeader(['dir', 'port', 'domains'])
->parseFile('http://127.0.0.1:7080');
```
The content is

But what's being returned is a single string:
^ "https://*.pgsc.wip/https://pgsc.wip/"
If I had the HTML I could parse it to get the 2 elements I need.
Thanks for your consideration.
Contributor guide
Assessment
This issue has not been assessed yet.