method

content_tag_string

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: TagBuilder
content_tag_string(name, content, options, escape = true) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/tag_helper.rb, line 53
        def content_tag_string(name, content, options, escape = true)
          tag_options = tag_options(options, escape) if options
          content     = ERB::Util.unwrapped_html_escape(content) if escape
          "<#{name}#{tag_options}>#{PRE_CONTENT_STRINGS[name]}#{content}</#{name}>".html_safe
        end
Register or log in to add new notes.