Re: keep ü ä ö ...

On 10/27/19, Ingo Wolf <ingo.wolf@gmx.de> wrote:
> Hi, I'v tried every Char encoding on
>
> https://infohound.net/tidy/
>
> can't get   &uuml; &auml; &ouml; ...   kept in output,
>
> what do I have to set

--preserve-entities yes

$ tidy -q --preserve-entities yes --tidy-mark no test.html
line 3 column 1 - Warning: inserting missing 'title' element
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<p>this is &amp;uuml;&nbsp; &uuml;</p>
<p>this is &amp;auml;&nbsp; &auml;</p>
<p>this is &amp;ouml;&nbsp; &ouml;</p>
</body>
</html>

Regards,
Lee

Received on Monday, 28 October 2019 21:41:13 UTC