lib/phlex/html/standard_elements.rb in phlex-1.11.0 vs lib/phlex/html/standard_elements.rb in phlex-2.0.0.beta1
- old
+ new
@@ -637,10 +637,10 @@
# @!method template_tag(**attributes, &content)
# Outputs a `<template>` tag.
# @return [nil]
# @yieldparam component [self]
# @see https://developer.mozilla.org/docs/Web/HTML/Element/template
- register_element :template_tag, tag: "template"
+ register_element :template
# @!method textarea(**attributes, &content)
# Outputs a `<textarea>` tag.
# @return [nil]
# @yieldparam component [self]