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 2018/05/23 07:58:52 UTC

[royale-asjs] branch feature/revert-refactor updated: Escape quotes

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

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


The following commit(s) were added to refs/heads/feature/revert-refactor by this push:
     new 6b2657f  Escape quotes
6b2657f is described below

commit 6b2657f7f8b4d597a7dae7d55c8352ea974edc52
Author: Harbs <ha...@in-tools.com>
AuthorDate: Wed May 23 10:58:47 2018 +0300

    Escape quotes
---
 frameworks/projects/XML/src/main/royale/XML.as | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frameworks/projects/XML/src/main/royale/XML.as b/frameworks/projects/XML/src/main/royale/XML.as
index 56b14ea..1545e82 100644
--- a/frameworks/projects/XML/src/main/royale/XML.as
+++ b/frameworks/projects/XML/src/main/royale/XML.as
@@ -140,6 +140,9 @@ package
 					case "&":
 						outArr[i] = "&amp;";
 						break;
+					case '"':
+						outArr[i] = "&quot;";
+						break;
 					case "\u000A":
 						outArr[i] = "&#xA;";
 						break;

-- 
To stop receiving notification emails like this one, please contact
harbs@apache.org.