Skip to content

Commit

Permalink
Enabling strict mode force Hpricot to fix up tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
nrk committed Jul 17, 2010
1 parent d5bec9c commit acd6fbb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ScannerState.cs
Expand Up @@ -48,9 +48,10 @@ public class ScannerState {


public bool Strict { public bool Strict {
get { return _strict; } get { return _strict; }

set {
//TODO: setting Strict to true should set Fixup to true automatically. _strict = value;
set { _strict = value; } Fixup = true;
}
} }


public bool Fixup { public bool Fixup {
Expand Down

0 comments on commit acd6fbb

Please sign in to comment.