Skip to content

Commit

Permalink
Update image card to support html in description
Browse files Browse the repository at this point in the history
Changes image card description from using a p tag to a div tag, so it can support html
  • Loading branch information
Vanita Barrett committed Jun 26, 2018
1 parent cb2ef1c commit 2e65b8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def heading_tag
end

def description
content_tag(:p, @description, class: "gem-c-image-card__description") if @description
content_tag(:div, @description, class: "gem-c-image-card__description") if @description
end
end
end
Expand Down

0 comments on commit 2e65b8f

Please sign in to comment.