summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/xfa_document_datamerger_imp.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_document_datamerger_imp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp
index ee9e78f0e3..478a1783f6 100644
--- a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp
+++ b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp
@@ -221,7 +221,7 @@ void CreateDataBinding(CXFA_Node* pFormNode,
continue;
WideString wsContent;
- if (pText->JSNode()->TryContent(wsContent) &&
+ if (pText->JSNode()->TryContent(wsContent, false, true) &&
(wsContent == wsValue)) {
pChecked = pChild;
wsFormattedValue = wsValue;
@@ -252,7 +252,7 @@ void CreateDataBinding(CXFA_Node* pFormNode,
WideString wsContent;
if (pText)
- pText->JSNode()->TryContent(wsContent);
+ pText->JSNode()->TryContent(wsContent, false, true);
FormValueNode_SetChildContent(pValue, wsContent, XFA_Element::Text);
}
@@ -288,7 +288,7 @@ void CreateDataBinding(CXFA_Node* pFormNode,
}
WideString wsXMLValue;
- pDataNode->JSNode()->TryContent(wsXMLValue);
+ pDataNode->JSNode()->TryContent(wsXMLValue, false, true);
WideString wsNormalizeValue;
pWidgetData->GetNormalizeDataValue(wsXMLValue, wsNormalizeValue);
pDataNode->JSNode()->SetAttributeValue(wsNormalizeValue, wsXMLValue, false,
@@ -325,7 +325,7 @@ void CreateDataBinding(CXFA_Node* pFormNode,
wsNormalizeValue.clear();
WideString wsItem;
for (CXFA_Node* pNode : items) {
- pNode->JSNode()->TryContent(wsItem);
+ pNode->JSNode()->TryContent(wsItem, false, true);
wsItem = single ? wsItem : wsItem + L"\n";
wsNormalizeValue += wsItem;
}