Sha256: b750e4044dbea3427fdbc185a8cf476025e397f08caccff5e7a3e8abcee1051b

Contents?: true

Size: 610 Bytes

Versions: 27

Compression:

Stored size: 610 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

27 entries across 27 versions & 2 rubygems

Version Path
middleman-core-3.4.1 features/helpers_content_tag.feature
middleman-core-3.4.0 features/helpers_content_tag.feature
middleman-core-3.3.12 features/helpers_content_tag.feature
middleman-core-3.3.11 features/helpers_content_tag.feature
middleman-core-3.3.10 features/helpers_content_tag.feature
middleman-core-3.3.9 features/helpers_content_tag.feature
middleman-core-3.3.8 features/helpers_content_tag.feature
middleman-core-3.3.7 features/helpers_content_tag.feature
middleman-core-3.3.6 features/helpers_content_tag.feature
middleman-core-3.3.5 features/helpers_content_tag.feature
middleman-core-cj-3.3.6 features/helpers_content_tag.feature
middleman-core-cj-3.3.5 features/helpers_content_tag.feature
middleman-core-cj-3.3.4 features/helpers_content_tag.feature
middleman-core-3.3.4 features/helpers_content_tag.feature
middleman-core-3.3.3 features/helpers_content_tag.feature
middleman-core-3.3.2 features/helpers_content_tag.feature
middleman-core-3.3.1 features/helpers_content_tag.feature
middleman-core-3.3.0 features/helpers_content_tag.feature
middleman-core-3.2.2 features/helpers_content_tag.feature
middleman-core-3.2.1 features/helpers_content_tag.feature