# Diagnostics and Repair

## Functions
int | tidyCleanAndRepair (TidyDoc tdoc)
int | tidyRunDiagnostics (TidyDoc tdoc)

## Function Documentation

int tidyCleanAndRepair | ( | TidyDoc | tdoc | ) |

| Execute configured cleanup and repair operations on parsed markup

int tidyRunDiagnostics | ( | TidyDoc | tdoc | ) |

| Run configured diagnostics on parsed and repaired markup. Must call tidyCleanAndRepair() first.