Skip to content

Option to do not break tag with xml:space="preserve" attribute #812

@rysavyjan

Description

@rysavyjan

We are formating DOCX XML files with tidy and we have found that following tag

<w:t xml:space="preserve">Hello World!</w:t>

is converted to

<w:t xml:space="preserve">
Hello World!
</w:t>

Unfortunately such document opened in Microsoft Word has spaces around Hello World!:
word

We didn't find any workaround in tidy configuration (latest version built from this repository).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions