From 4e5264c9ca15bacefee0584493898dda79834232 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Tue, 28 Jun 2016 02:23:23 -0700 Subject: [PATCH] Expand list of void elements to match spec from https://html.spec.whatwg.org/multipage/syntax.html#void-elements --- actionview/lib/action_view/helpers/tag_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionview/lib/action_view/helpers/tag_helper.rb b/actionview/lib/action_view/helpers/tag_helper.rb index 09923be568..1e101d2f75 100644 --- a/actionview/lib/action_view/helpers/tag_helper.rb +++ b/actionview/lib/action_view/helpers/tag_helper.rb @@ -30,7 +30,7 @@ class TagBuilder #:nodoc: include CaptureHelper include OutputSafetyHelper - VOID_ELEMENTS = %i(base br col embed hr img input keygen link meta param source track wbr).to_set + VOID_ELEMENTS = %i(area base br col embed hr img input keygen link meta param source track wbr).to_set def initialize(view_context) @view_context = view_context -- GitLab