diff --git a/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl b/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl index 377e256723..b1b297ec96 100644 --- a/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl +++ b/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl @@ -54,7 +54,7 @@ under the License. "id": "${returnField}", "label": "<#if (displayString?trim?has_content )>${displayString?trim}<#else>${returnField}", - "value": "${returnField}" + "value": "${StringUtil.wrapString(returnField)}" }<#if autocompleteOption_has_next>, <#else>