Disable printing tidy warnings and errors.

This commit is contained in:
Bartosz Taudul
2025-05-24 02:51:53 +02:00
parent d9f7772e9a
commit cead66cc3d

View File

@@ -54,6 +54,8 @@ static std::unique_ptr<pugi::xml_document> ParseHtml( const std::string& html )
tidyOptSetBool( td, TidyLowerLiterals, yes );
tidyOptSetBool( td, TidyMark, no );
tidyOptSetBool( td, TidyHideComments, yes );
tidyOptSetBool( td, TidyShowWarnings, no );
tidyOptSetInt( td, TidyShowErrors, 0 );
if( tidyParseString( td, html.c_str() ) == 2 )
{