diff --git a/src/aui-form-builder/js/aui-form-builder-field-base.js b/src/aui-form-builder/js/aui-form-builder-field-base.js index ec18c341c9e..68ba14734c3 100644 --- a/src/aui-form-builder/js/aui-form-builder-field-base.js +++ b/src/aui-form-builder/js/aui-form-builder-field-base.js @@ -10,6 +10,7 @@ var L = A.Lang, isObject = L.isObject, AArray = A.Array, + AEscape = A.Escape, ACCEPT_CHILDREN = 'acceptChildren', ALERT = 'alert', @@ -473,8 +474,8 @@ var FormBuilderField = A.Component.create({ return A.Node.create( L.sub( TPL_LABEL, { - id: A.Escape.html(instance.get(ID)), - label: A.Escape.html(instance.get(LABEL)) + id: AEscape.html(instance.get(ID)), + label: AEscape.html(instance.get(LABEL)) } ) ); @@ -1016,7 +1017,7 @@ var FormBuilderField = A.Component.create({ var instance = this, labelNode = instance.get(LABEL_NODE); - labelNode.setContent(A.Escape.html(val)); + labelNode.setContent(AEscape.html(val)); }, /**