Permalink
Browse files

Enabling strict mode force Hpricot to fix up tags.

  • Loading branch information...
1 parent d5bec9c commit acd6fbb39a2e3f4b6e8d354366c72e060ce2740d @nrk committed Jul 17, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/ScannerState.cs
View
@@ -48,9 +48,10 @@ public class ScannerState {
public bool Strict {
get { return _strict; }
-
- //TODO: setting Strict to true should set Fixup to true automatically.
- set { _strict = value; }
+ set {
+ _strict = value;
+ Fixup = true;
+ }
}
public bool Fixup {

0 comments on commit acd6fbb

Please sign in to comment.