   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


defmodule Phoenix.HTML.Tag do
  @moduledoc ~S"""
  Helpers related to producing HTML tags within templates.

  Note the examples in this module use `safe_to_string/1`
  imported from `Phoenix.HTML` for readability.
  """

  import Phoenix.HTML
