aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-06-28 02:23:23 -0700
committerVipul A M <vipulnsward@gmail.com>2016-06-28 02:23:23 -0700
commit4e5264c9ca15bacefee0584493898dda79834232 (patch)
tree17ebf1327185cbc1566df468ebaf4cc045213083 /actionview
parent13a5cc33410bd26be8e7669259b60021fba7012a (diff)
downloadrails-4e5264c9ca15bacefee0584493898dda79834232.tar.gz
rails-4e5264c9ca15bacefee0584493898dda79834232.tar.bz2
rails-4e5264c9ca15bacefee0584493898dda79834232.zip
Expand list of void elements to match spec from https://html.spec.whatwg.org/multipage/syntax.html#void-elements
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
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 @@ module ActionView
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