[GB.XML]
* BUG: Fix copy & paste error (?) which creates CDATA nodes as comment nodes. git-svn-id: svn://localhost/gambas/trunk@7637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
e9f03fe7de
commit
c866e8a8ee
1 changed files with 2 additions and 2 deletions
|
@ -302,14 +302,14 @@ CommentNode* XMLComment_New(const char *ncontent, const size_t nlen)
|
|||
CDATANode* XMLCDATA_New()
|
||||
{
|
||||
CommentNode *newComment = XMLTextNode_New();
|
||||
newComment->type = Node::Comment;
|
||||
newComment->type = Node::CDATA;
|
||||
return newComment;
|
||||
}
|
||||
|
||||
CDATANode* XMLCDATA_New(const char *ncontent, const size_t nlen)
|
||||
{
|
||||
CommentNode *newComment = XMLTextNode_New(ncontent, nlen);
|
||||
newComment->type = Node::Comment;
|
||||
newComment->type = Node::CDATA;
|
||||
return newComment;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue