Skip to content
This repository
tree: 8bea607265
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 12 lines (10 sloc) 0.195 kb
1 2 3 4 5 6 7 8 9 10 11
module ActionView
  module Template::Handlers
    class Raw
      def call(template)
        escaped = template.source.gsub(':', '\:')

        '%q:' + escaped + ':;'
      end
    end
  end
end
Something went wrong with that request. Please try again.