diff --git a/app/views/components/forms/edit/_builder.html.erb b/app/views/components/forms/edit/_builder.html.erb index 766c5ced0..a4409b2cd 100644 --- a/app/views/components/forms/edit/_builder.html.erb +++ b/app/views/components/forms/edit/_builder.html.erb @@ -209,7 +209,7 @@ $(function() { $(".form-builder").on("keyup", ".question-option-edit input", function(event) { if (event.keyCode == 13) { - $(this).closest('div.question-option').find('.question-option-view').html($(this).val()); + $(this).closest('div.question-option').find('.question-option-view').text($(this).val()); $.ajax({ type: "PATCH",