changeset 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 8c0f70f8249e
children 99d0adfd5453
files app/views/pastes/show.txt.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 %>