<%= notice %>
Name: <%= @user.name %>
Email: <%= @user.email %>
Website: <%= link_to('website', @user.website) %>
<%= link_to 'Edit', edit_user_path(@user) %> | <%= link_to 'Back', users_path %><%= notice %>
Name: <%= (@user.name).html_safe %>
Email: <%= @user.email %>
Website: <%= link_to('website', @user.website) %>
<%= link_to 'Edit', edit_user_path(@user) %> | <%= link_to 'Back', users_path %> automatic protection. Let’s say for some reason you wanted to allow the user to dress up their name by adding html tags. To<%= notice %>
Name: <%= (@user.name).html_safe %>
Email: <%= @user.email %>
Website: <%= link_to('website', @user.website) %>
<%= link_to 'Edit', edit_user_path(@user) %> | <%= link_to 'Back', users_path %> Don’t do this<%= notice %>
Name: <%= sanitize(@user.name) %>
Email: <%= @user.email %>
Website: <%= link_to('website', @user.website) %>
<%= link_to 'Edit', edit_user_path(@user) %> | <%= link_to 'Back', users_path %> Will strip out unwanted tags and attributes