You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
/etc/php/7.2/cli/conf.d/20-tidy.ini,
tidy
Tidy support => enabled
libTidy Version => 5.7.16
libTidy Release => 2018/04/27
tidy.clean_output => 0 => 0
tidy.default_config => no value => no value
That tidy_test.html has errors so no html will be output... so your result is expected...
Add --force-output yes to your config, and you should get the something...
And hope the web site adopts a better generator of html web pages... It has no DOCTYPE, so tidy will choose html5... has lots of tivial warnings... still using legacy <table> elments, to get format... should use css... tidy does its best to render a clean document... only if you add --force-output yes...
Heh, thank you.
I was not expecting that problem because everything is ok with tidy 5.4.x, but not with 5.6.x+.
Do i need to set any other config options for bad formatted input html?
Hello.
I don't know how to reopen my previous ticket, so i created new one.
Take a look, please.
Those things make me nervous :)
root@6cf6ead63be0:/app# php -v
root@6cf6ead63be0:/app# php -r 'phpinfo();' | grep -i tidy
test code:
result:
File uploaded at: https://seo-utils.ru/storage/get_document/39b732df607ef1eb490a5dd1ee324e82/?download=1
Thanks.
The text was updated successfully, but these errors were encountered: