projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1597f3
)
Roo/HtmlEditorCore.js
author
Alan Knowles
<alan@roojs.com>
Wed, 17 Jun 2015 08:35:12 +0000
(16:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 17 Jun 2015 08:35:12 +0000
(16:35 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
2609a0c
..
8c170ef
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1265,7
+1265,8
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
var tagName = Roo.util.Format.htmlEncode(currentElement.tagName);
if (nodeName == '#text') {
- return currentElement.nodeValue;
+
+ return nopadtext ? currentElement.nodeValue : currentElement.nodeValue.trim();
}