lib/action_view/template/handlers/raw.rb in actionview-5.0.0.beta1.1 vs lib/action_view/template/handlers/raw.rb in actionview-5.0.0.beta2
- old
+ new
@@ -1,11 +1,9 @@
module ActionView
module Template::Handlers
class Raw
def call(template)
- escaped = template.source.gsub(':'.freeze, '\:'.freeze)
-
- '%q:' + escaped + ':;'
+ "#{template.source.inspect};"
end
end
end
end