You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2019/11/28 18:28:01 UTC

[royale-asjs] branch develop updated: Reverted this bit to wrap text in an element

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 81ccc0a  Reverted this bit to wrap text in an element
81ccc0a is described below

commit 81ccc0a7552badaa5823a9bd632ce276c28cff92
Author: Harbs <ha...@in-tools.com>
AuthorDate: Thu Nov 28 20:27:45 2019 +0200

    Reverted this bit to wrap text in an element
---
 frameworks/projects/XML/src/main/royale/XML.as | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/projects/XML/src/main/royale/XML.as b/frameworks/projects/XML/src/main/royale/XML.as
index 8974143..ae81799 100644
--- a/frameworks/projects/XML/src/main/royale/XML.as
+++ b/frameworks/projects/XML/src/main/royale/XML.as
@@ -906,6 +906,7 @@ package
 				if (lastChild && lastChild._nodeKind == ELEMENT) {
 					
 					const wrapper:XML = new XML();
+					wrapper._nodeKind = ELEMENT;
 					child = new XML(child.toString());
 					wrapper.setName(lastChild.name());
 					child.setParent(wrapper);