Set more options on tidyhtml.

This commit is contained in:
King_DuckZ 2018-02-19 20:11:17 +00:00
parent 494364c22e
commit 9dba8043f1

View file

@ -68,6 +68,13 @@ namespace duck {
&& tidyOptSetBool(tidyDoc, TidyQuiet, yes)
&& tidyOptSetBool(tidyDoc, TidyNumEntities, yes)
&& tidyOptSetBool(tidyDoc, TidyShowWarnings, no)
&& tidyOptSetBool(tidyDoc, TidyEscapeScripts, yes)
&& tidyOptSetInt(tidyDoc, TidyNewline, TidyLF)
&& tidyOptSetBool(tidyDoc,TidyFixUri, yes)
&& tidyOptSetBool(tidyDoc, TidyHideComments, yes)
&& tidyOptSetBool(tidyDoc, TidyPPrintTabs, yes)
&& tidyOptSetBool(tidyDoc, TidyLiteralAttribs, no)
&& tidyOptSetBool(tidyDoc, TidyPunctWrap, no)
&& tidyOptSetBool(tidyDoc, TidyDropPropAttrs, yes);
int tidyResponseCode = -1;