lib/phlex/html/void_elements.rb in phlex-1.3.3 vs lib/phlex/html/void_elements.rb in phlex-1.4.0
- old
+ new
@@ -1,9 +1,11 @@
# frozen_string_literal: true
module Phlex::HTML::VoidElements
extend Phlex::Elements
+ REGISTERED_ELEMENTS = Concurrent::Map.new
+
# @!method area(**attributes, &content)
# Outputs an <code>area</code> tag
# @return [nil]
# @see https://developer.mozilla.org/docs/Web/HTML/Element/area
register_void_element :area, tag: "area"