   is repeated when it is true, as expected in HTML, or
   the attribute is completely removed if it is false:
 
-      iex> tag(:audio, autoplay: true)
-      {:safe, [60, "audio", [[32, "autoplay", 61, 34, "autoplay", 34]], 62]}
-      iex> tag(:audio, autoplay: false)
-      {:safe, [60, "audio", [], 62]}
+      iex> safe_to_string tag(:audio, autoplay: true)
+      "<audio autoplay=\"autoplay\">"
+      iex> safe_to_string tag(:audio, autoplay: false)
+      "<audio>"
 
   If you want the boolean attribute to be sent as is,
   you can explicitly convert it to a string before.

  with data attributes' names and values as the first element
  in the tag's attributes keyword list:

      iex> tag(:input, [{:data, [foo: "bar"]}, id: "some_id"])
      {:safe, [60, "input", [[32, "data-foo", 61, 34, "bar", 34], [32, "id", 61, 34, "some_id", 34]], 62]}

  ## Boolean values



  See `Phoenix.HTML.Tag.tag/2` for more information and examples.

      iex> safe_to_string content_tag(:p, "Hello")
      "<p>Hello</p>"

      iex> safe_to_string content_tag(:p, "<Hello>", class: "test")
      "<p class=\"test\">&lt;Hello&gt;</p>"

      iex> safe_to_string(content_tag :p, class: "test" do
      ...>   "Hello"
      ...> end)
      "<p class=\"test\">Hello</p>"

      iex> safe_to_string content_tag(:option, "Display Value", [{:data, [foo: "bar"]}, value: "value"])
      "<option data-foo=\"bar\" value=\"value\">Display Value</option>"

  """
  def content_tag(name, [do: block]) when is_atom(name) do
    content_tag(name, block, [])
