GetCdata() public method

public GetCdata ( Node container ) : Node
container Node
return Node
Beispiel #1
0
            public virtual void Parse(Lexer lexer, Node script, short mode)
            {
                /*
                This isn't quite right for CDATA content as it recognises
                tags within the content and parses them accordingly.
                This will unfortunately screw up scripts which include
                < + letter,  < + !, < + ?  or  < + / + letter
                */

                Node node = lexer.GetCdata(script);

                if (node != null)
                {
                    Node.InsertNodeAtEnd(script, node);
                }
            }