Skip to content

Commit

Permalink
Fix libtidy settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sude- committed May 26, 2024
1 parent 266c581 commit ebdee25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ebdee25

Please sign in to comment.