diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-06-28 02:23:23 -0700 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-06-28 02:23:23 -0700 |
commit | 4e5264c9ca15bacefee0584493898dda79834232 (patch) | |
tree | 17ebf1327185cbc1566df468ebaf4cc045213083 /actionview | |
parent | 13a5cc33410bd26be8e7669259b60021fba7012a (diff) | |
download | rails-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.rb | 2 |
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 |