HTML Tidy  5.9.15
The HTACG Tidy HTML Project
Experimental Stuff

Detailed Description

From time to time the developers might leave stuff here that you can use to experiment on their own, or that they're using to experiment with.

Functions

static Bool TIDY_CALL reportCallback (TidyMessage tmessage)
 This callback from LibTidy allows the console application to examine an error message before allowing LibTidy to display it. More...
 

Function Documentation

◆ reportCallback()

static Bool TIDY_CALL reportCallback ( TidyMessage  tmessage)
static

This callback from LibTidy allows the console application to examine an error message before allowing LibTidy to display it.

Currently the body of the function is not compiled into Tidy, but if you're interested in how to use the new message API, then enable it. Possible applications in future console Tidy might be to do things like:

  • allow user-defined filtering
  • sort the report output by line number
  • other things that are user facing and best not put into LibTidy proper.