Sha256: 92e272227cabd4c00357ecd08392931ef344f01f4412ee9821928093d6271c70

Contents?: true

Size: 247 Bytes

Versions: 12

Compression:

Stored size: 247 Bytes

Contents

module Coprl::Presenters::WebClient::Helpers::Sinatra
  module Raw
    def raw(html_js_string)
      # Sinatra is raw/unsafe by default - this is the opposite of rails
      # For the inverse see escape_html
      html_js_string
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.11 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.10 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.9 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.8 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.7 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.6 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.5 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.4 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.3 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.2 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb
coprl-3.0.0.beta.1 lib/coprl/presenters/web_client/helpers/sinatra/raw.rb