Sha256: f92b003f9dc7637f664afb2c755fdb9c4e5eb82251f4b03ec03117b85098cc79

Contents?: true

Size: 604 Bytes

Versions: 52

Compression:

Stored size: 604 Bytes

Contents

Feature: content_tag helper

  Scenario: content_tag doesn't escape content from either block or string
    Given a fixture app "empty-app"
    And an empty file named "config.rb"
    And a file named "source/index.html.erb" with:
    """
    <%= content_tag :div, "<hello>world</hello>", class: 'one' %>
    <% content_tag :where, class: 'the hell is' do %>
    <my>damn croissant</my>
    <% end %>
    """
    And the Server is running
    When I go to "index.html"
    Then I should see '<div class="one"><hello>world</hello>'
    And I should see '<where class="the hell is"><my>damn croissant</my>'

Version data entries

52 entries across 52 versions & 3 rubygems

Version Path
middleman-core-4.5.1 features/helpers_content_tag.feature
middleman-core-4.5.0 features/helpers_content_tag.feature
middleman-core-4.4.3 features/helpers_content_tag.feature
middleman-core-4.4.2 features/helpers_content_tag.feature
middleman-core-4.4.0 features/helpers_content_tag.feature
middleman-core-4.3.11 features/helpers_content_tag.feature
middleman-core-4.3.10 features/helpers_content_tag.feature
middleman-core-4.3.8 features/helpers_content_tag.feature
middleman-core-4.3.7 features/helpers_content_tag.feature
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/helpers_content_tag.feature
middleman-core-4.3.6 features/helpers_content_tag.feature
middleman-core-4.3.5 features/helpers_content_tag.feature
middleman-core-4.3.4 features/helpers_content_tag.feature
middleman-core-4.3.3 features/helpers_content_tag.feature
middleman-core-4.3.2 features/helpers_content_tag.feature
middleman-core-4.3.1 features/helpers_content_tag.feature
middleman-core-4.3.0 features/helpers_content_tag.feature
middleman-core-4.3.0.rc.4 features/helpers_content_tag.feature
middleman-core-4.3.0.rc.3 features/helpers_content_tag.feature
middleman-core-4.3.0.rc.2 features/helpers_content_tag.feature