Skip to content

Could tabs be preserved inside <pre> blocks? #403

@jacksonp

Description

@jacksonp

Running tidy on this doc (→ represents a tab character):

<!DOCTYPE html>
<title>pre test</title>
<pre>→A,
→B,
→C,</pre>

changes how the document looks in browsers, as tidy replaces the tabs with spaces.

Before tidy:

    A,
    B,
    C,

After tidy:

   A,
        B,
        C,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions