Skip to content

Can't disable wrap #858

@ghost

Description

Hello,

I am using Tidy under Fedora, to format HTML under PHP. Package versions are:
libtidy-5.6.0-5.fc30.x86_64
php-tidy-7.3.14-1.fc30.x86_64

Based on the documentation I've set wrap to zero. Unfortunately, wrap is still in effect, for example:

source:

<p>this is a <b>tessst</b> <u>content</u></p>

output:

<p>
this
is
a
<b>
tessst</b>
<u>
content</u></p>

If I set wrap to some high number like 1000, then the output appears correct.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    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