ShowBodyOnly incompatibility causes asert()
Status: Beta
Brought to you by:
fcarlier
With the TidyHtml lib as of 17 august 2007 in combination with the C# wrapper, it causes an assert in config.c on line 396 because the wrapper uses an bool while Tidy expects an AutoBool.
Changing ShowBodyOnly in Settings.Cs to use an AutoBool fixes this:
----
public AutoBool ShowBodyOnly
{
get
{
return document.GetOptionAutoBool(TidyOptionId.BodyOnly);
}
set
{
document.SetOption(TidyOptionId.BodyOnly, value);
}
}
----