Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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