Skip to content

optionally return HTML for td content #8

@tacman

Description

@tacman

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:

        $sites = Parser::new()
            ->ignoreTableHeader()
            ->tableHeader(['dir', 'port', 'domains'])
            ->parseFile('http://127.0.0.1:7080');

The content is

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions