diff --git a/roles/matrix-awx/surveys/configure_element.json.j2 b/roles/matrix-awx/surveys/configure_element.json.j2 index 9c0398cca..b40217328 100755 --- a/roles/matrix-awx/surveys/configure_element.json.j2 +++ b/roles/matrix-awx/surveys/configure_element.json.j2 @@ -32,7 +32,7 @@ "required": false, "min": 0, "max": 256, - "default": "{{ matrix_client_element_brand }}", + "default": "{{ matrix_client_element_brand | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_brand", @@ -44,7 +44,7 @@ "required": false, "min": 0, "max": 1024, - "default": "{{ matrix_client_element_branding_welcomeBackgroundUrl }}", + "default": "{{ matrix_client_element_branding_welcomeBackgroundUrl | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_branding_welcomeBackgroundUrl", @@ -56,7 +56,7 @@ "required": false, "min": 0, "max": 1024, - "default": "{{ matrix_client_element_welcome_logo }}", + "default": "{{ matrix_client_element_welcome_logo | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_welcome_logo", @@ -68,7 +68,7 @@ "required": false, "min": 0, "max": 1024, - "default": "{{ matrix_client_element_welcome_logo_link }}", + "default": "{{ matrix_client_element_welcome_logo_link | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_welcome_logo_link", @@ -80,7 +80,7 @@ "required": false, "min": 0, "max": 512, - "default": "{{ awx_matrix_client_element_welcome_headline }}", + "default": "{{ awx_matrix_client_element_welcome_headline | trim }}", "choices": "", "new_question": true, "variable": "awx_matrix_client_element_welcome_headline", @@ -92,7 +92,7 @@ "required": false, "min": 0, "max": 2048, - "default": "{{ awx_matrix_client_element_welcome_text }}", + "default": "{{ awx_matrix_client_element_welcome_text | trim }}", "choices": "", "new_question": true, "variable": "awx_matrix_client_element_welcome_text",