how prevent tidy from adding new line at bottom of file

jindam

New Member
Joined
Nov 13, 2023
Messages
6
Reaction score
0
Credits
61
* whenever i run tidy its adding new
line at bottom of file
  • Version: 5.9.14-next-0
  • my tidy config
Code:
indent: no
wrap: 0
numeric-entities: yes
quote-nbsp: yes
quote-ampersand: no
uppercase-tags: no
uppercase-attributes: no
 


Personally, I wouldn't worry about a trailing newline at the end of the config file.
I'd ignore the problem. But if it really bothers you that much, perhaps contact the authors/maintainers of Tidy and submit a bug report.

From a quick bit if duckduckgo-fu - the official website for the Tidy project is here:
https://www.html-tidy.org/

And they have a github repository here:
https://github.com/htacg/tidy-html5

For making a bug report, their issue tracker is here:
https://github.com/htacg/tidy-html5/issues

Alternatively, if you have an ability to code in C/C++, you could clone/fork their git repo, debug and fix the problem yourself and send them a pull request.

Personally though, I'd just ignore it. It's not going to cause any problems.
 
Last edited:

Members online


Latest posts

Top