Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot handle read-only html files (possibly regression?) #789

hosiet opened this issue Dec 27, 2018 · 2 comments

Cannot handle read-only html files (possibly regression?) #789

hosiet opened this issue Dec 27, 2018 · 2 comments


Copy link

hosiet commented Dec 27, 2018

% bash
hosiet@hosiet-mi:~$ export LANG=C
hosiet@hosiet-mi:~$ cat test.html
<!DOCTYPE html>
hosiet@hosiet-mi:~$ ls -la ./test.html
-r--r--r-- 1 hosiet hosiet 69 Dec 26 12:50 ./test.html
hosiet@hosiet-mi:~$ tidy -ascii -i a.html
Document: "a.html" is not a file!

About HTML Tidy:
Bug reports and comments:
Official mailing list:
Latest HTML specification:
Validate your HTML documents:
Lobby your company to join the W3C:

Do you speak a language other than English, or a different variant of 
English? Consider helping us to localize HTML Tidy. For details please see
Copy link

hosiet commented Dec 27, 2018

This bug happens for both v5.6.0 and v5.7.17.

Copy link

@hosiet thank you for the issue, but this is really a repeat of #681...

It is true in Windows and MAC, as well as unix/linux... and yes, I think is a regression from 5.6 onwards...

Some solutions have been discussed there... but no one has got around to coding it yet... any help appreciated... thanks...

Meantime closing this... in deference to open #681 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants