Skip to content

Tidy 5.6.0 -> bug with pre tag #690

@ogolovanov

Description

@ogolovanov

Hello.

Input: "<html><body><pre>Результат</pre></body></html>"
Config: array('input-encoding' => 'utf8', 'output-encoding' => 'utf8');

Result after clean-repair:
...
<pre>? езультат</pre>
...

It seems tidy does not like cyrillic letter "Р" in pre tag ...
If i replace it with another letter -> result will be ok. ( sorry, but thats not funny ).
If i remove "input-encoding" and "output-encoding" option -> result also will be ok ( sorry, but thats not funny too, because those options have 'utf8' as default value )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions