Skip to content

Tranform <br> to \n when using --text flag #74

@tobiashort

Description

@tobiashort

Actual behaviour:

% echo '<div id="my-div">line1<br>line2<br>line3</div>' | htmlq -t "#my-div"
line1line2line3

Expected behaviour:

% echo '<div id="my-div">line1<br>line2<br>line3</div>' | htmlq -t "#my-div"
line1
line2
line3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions