app/components/avo/field_wrapper_component.html.erb in avo-2.33.2 vs app/components/avo/field_wrapper_component.html.erb in avo-2.33.3.pre.1

- old
+ new

@@ -22,15 +22,15 @@ <%= content %> <% if record.present? and record.errors.include? field.id %> <div class="text-red-600 mt-2 text-sm"><%= record.errors.full_messages_for(field.id).to_sentence %></div> <% end %> <% if help.present? %> - <div class="text-gray-600 mt-2 text-sm"><%== help %></div> + <div class="text-gray-600 mt-2 text-sm"><%= sanitize help %></div> <% end %> <% end %> </div> </div> <% if params[:avo_debug].present? %> <!-- Raw value: --> - <!-- <%== field.value.inspect %> --> + <!-- <%= sanitize field.value.inspect %> --> <% end %> <% end %>