Fix libtidy settings

This commit is contained in:
Sude 2024-05-26 22:32:25 +03:00
parent 266c5817ba
commit ebdee25fe6

View File

@ -1018,9 +1018,9 @@ std::string Util::htmlToXhtml(const std::string& html)
tidyOptSetBool(doc, TidyXhtmlOut, yes);
tidyOptSetBool(doc, TidyForceOutput, yes);
tidyOptSetBool(doc, TidyShowInfo, no);
tidyOptSetBool(doc, TidyShowWarnings, no);
tidyOptSetInt(doc, TidyWrapLen, 0);
tidyOptSetInt(doc, TidyShowInfo, 0);
tidyOptSetInt(doc, TidyShowWarnings, 0);
rc = tidyParseString(doc, html.c_str());
if ( rc >= 0 )
rc = tidyCleanAndRepair(doc);