You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/11/27 23:27:30 UTC

[31/51] [abbrv] git commit: removes traling spaces when reads author from config.xml

removes traling spaces when reads author from config.xml

[windows8] error APPX3007: App manifest validation failed. Value of element '/Package/Properties/PublisherDisplayName' cannot start or end with whitespace.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/715dbc21
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/715dbc21
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/715dbc21

Branch: refs/heads/fireos
Commit: 715dbc21240821d1551997dc7186437205524f69
Parents: 6516fa7
Author: sgrebnov <se...@gmail.com>
Authored: Mon Nov 25 15:58:10 2013 +0400
Committer: sgrebnov <se...@gmail.com>
Committed: Mon Nov 25 15:58:10 2013 +0400

----------------------------------------------------------------------
 src/config_parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/715dbc21/src/config_parser.js
----------------------------------------------------------------------
diff --git a/src/config_parser.js b/src/config_parser.js
index a4b1e1a..2a506f9 100644
--- a/src/config_parser.js
+++ b/src/config_parser.js
@@ -75,7 +75,7 @@ config_parser.prototype = {
         }
         else {
             var author = this.doc.find('author');
-            return author ? author.text : '';
+            return author ? author.text.trim() : '';
         }
     },
     update:function() {