Go to file
Jim Derry 91f29ea7b8 HTML Tidy now parses HTML non-recursively.
Instead of recursive calls for each nested level of HTML, the next level is
pushed to a stack on the heap, and returned to the main loop. This prevents
stack overflow at _n_ depth (where _n_ is operating-system dependent). It's
probably still possible to use all of the heap memory, but Tidy's allocators
already fail gracefully in this circumstance.

Please report any regressions of your own HTML!

NOTE: the XML parser is not affected, and is probably still highly recursive.
2021-08-14 20:42:43 -04:00
.github/workflows Deleted LICENSE again. Enough is enough. 2021-07-30 19:09:29 -04:00
build HTTPS Migration 2021-07-21 17:21:27 -04:00
console Fixes #719. Pass the string representation of the parameter name, and post process before output. Adds strrep() service to support. 2021-07-30 16:40:48 -04:00
experimental Spelling fixes, thanks to @jschleus. 2021-07-21 15:50:53 -04:00
include Fixes #719. Pass the string representation of the parameter name, and post process before output. Adds strrep() service to support. 2021-07-30 16:40:48 -04:00
localize Updated localization information and files. No version bump. 2021-07-30 10:43:39 -04:00
man HTTPS Migration 2021-07-21 17:21:27 -04:00
README HTTPS Migration 2021-07-21 17:21:27 -04:00
regression_testing HTML Tidy now parses HTML non-recursively. 2021-08-14 20:42:43 -04:00
src HTML Tidy now parses HTML non-recursively. 2021-08-14 20:42:43 -04:00
.gitignore Move the testing repository back into the Tidy codebase. 2021-05-21 10:43:35 -04:00
CMakeLists.txt robust installation of pdb files 2021-07-27 14:56:48 +02:00
README.md HTTPS Migration 2021-07-21 17:21:27 -04:00
tidy.pc.cmake.in Fix pkgconfig install path on package 2017-05-02 20:28:48 +02:00
version.txt Fixes #946 by refactoring the recursion into a loop with a heap-based stack. 2021-07-31 08:26:16 -04:00

HTACG HTML Tidy

All other READMEs and related materials can be found in README/. Although all of our materials should be linked in this README, be sure to check this directory for documents weve not yet added to this document.

Building HTML Tidy

Branches and Versions

Learn about which branches are available, which branch you should use, and how HTML Tidys versioning scheme works.

Contributing and Development Guides

We gladly accept PRs! Read about some of our contribution guidelines, and check out some of the additional explanatory documents that will aid your understanding of how to accomplish certain things in HTML Tidy.

General Contribution Guidelines

These are some general guidelines that will help you help us when it comes to making your own contributions to HTML Tidy.

Adding Features Guides

When youre ready to add a great new feature, these write-ups may be useful.

  • Learn how to add new element attributes to HTML Tidy by reading README/ATTRIBUTES.md.
  • Discover how to add new tags to Tidy in README/TAGS.md.
  • If you want to add new messages to Tidy, read README/MESSAGE.md.
  • Configuration options can be added according to README/OPTIONS.md.
  • Pull Requests must pass all existing regression tests, or you must change existing regression test expectations with a good explanation. New features require that you add new regression tests. See README/TESTING.md for more details.

Language Localization Guides

Tidy supports localization, and welcomes translations into various languages. Please read up on how to localize HTML Tidy.

History

This repository should be considered canonical for HTML Tidy starting from 2015-January-15.

  • This repository originally transferred from w3c.github.com/tidy-html5, then redirected to the current site, but now dead.

  • First moved to Github from tidy.sourceforge.net. Note, this site is kept only for historic reasons, and is not now well maintained.

Tidy is the granddaddy of HTML tools, with support for modern standards. Have fun...

License

HTML Tidy and LibTidy are free and open source software with a permissive license.