diff app/views/pastes/show.txt.erb @ 18:9f80b5700e93

Don't escape html in _txt_ file.
author Edho Arief <edho@myconan.net>
date Mon, 27 Aug 2012 09:03:42 -0700
parents 9ba8cf402e06
children
line wrap: on
line diff
--- a/app/views/pastes/show.txt.erb	Mon Aug 27 07:44:17 2012 -0700
+++ b/app/views/pastes/show.txt.erb	Mon Aug 27 09:03:42 2012 -0700
@@ -1,1 +1,1 @@
-<%= @paste.paste %>
+<%= @paste.paste.html_safe %>