diff --git a/app/views/fields/string/_show.html.erb b/app/views/fields/string/_show.html.erb index 2607473404..d427e53314 100644 --- a/app/views/fields/string/_show.html.erb +++ b/app/views/fields/string/_show.html.erb @@ -4,7 +4,7 @@ This partial renders a string attribute, to be displayed on a resource's show page. -By default, the attribute is rendered as an unformatted string. +By default, the attribute is rendered as text with whitespace preserved. ## Local variables: @@ -15,4 +15,4 @@ By default, the attribute is rendered as an unformatted string. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/String %> -<%= field.data %> +
<%= field.data %>
diff --git a/app/views/fields/text/_show.html.erb b/app/views/fields/text/_show.html.erb index ad9e6e77a7..25c569bf80 100644 --- a/app/views/fields/text/_show.html.erb +++ b/app/views/fields/text/_show.html.erb @@ -4,8 +4,7 @@ This partial renders a text attribute, to be displayed on a resource's show page. -By default, the attribute is rendered as text with -whitespace preserved. +By default, the attribute is rendered as text with whitespace preserved. ## Local variables: @@ -16,4 +15,4 @@ whitespace preserved. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Text %> -<%= field.data %> +
<%= field.data %>