Created
February 11, 2019 23:17
-
-
Save stephenrichards/6959b019f8670eac3b32d640399a042e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
content_tag :html do | |
content_tag :div, class: 'govuk-body' do | |
content_tag :p, class: 'govuk-item do | |
"My item" | |
end | |
end | |
end | |
# expected output: | |
# <html><div class="govuk_body><p class="govuk_item">My item</p></div></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment