示例#1
0
            protected override string GetNumberText(CsQuery.CQ node)
            {
                var p = node.Find("p");

                if (p.Any())
                {
                    node = p;
                }
                return(node.Single().InnerText);
            }
            protected override String GetNumberText(CsQuery.CQ node)
            {
                var text = node.Single().InnerText.Trim();

                if (text == String.Empty)
                {
                    return(node.Find("p").Single().InnerText.Trim());
                }
                else
                {
                    return(text);
                }
            }