private bool AnythingElse(Token t, TreeBuilder tb)
            {
                bool processed = tb.Process(new Token.EndTag("colgroup"));

                if (processed) // only ignored in frag case
                {
                    return(tb.Process(t));
                }

                return(true);
            }
            private bool HandleMissingTr(Token t, TreeBuilder tb)
            {
                bool processed = tb.Process(new Token.EndTag("tr"));

                if (processed)
                {
                    return(tb.Process(t));
                }
                else
                {
                    return(false);
                }
            }
Beispiel #3
0
 public Parser(TreeBuilder treeBuilder)
 {
     this.treeBuilder = treeBuilder;
 }
Beispiel #4
0
 private bool AnythingElse(Token t, TreeBuilder tb)
 {
     tb.Process(new Token.EndTag("head"));
     return(tb.Process(t));
 }