   @doc """
   Removes all Drab's marks from the buffer
   """
+  @spec remove_drab_marks(Phoenix.HTML.safe() | list) :: Phoenix.HTML.safe() | list
   def remove_drab_marks({:safe, buffer}) do
     {:safe, remove_drab_marks(buffer)}
   end

      iex> find_attribute("tag attrx = 1 attr = '2' attra= 4 ", "attr = 3")
      "attr='2'"
  """
  def find_attribute(tag, attr) do
    [attr_name | _] =
      attr

    iex> inject_attribute_to_last_opened "<img attr=2 src", "attr=1"
    {:already_there, "<img attr=2 src", "attr=2"}
  """
  @spec inject_attribute_to_last_opened(String.t() | list | Macro.t(), String.t()) :: String.t() | list | Macro.t()
  def inject_attribute_to_last_opened(buffer, attribute) when is_tuple(buffer) do
    # in case when there is no text between expressions
    {result, [acc], attribute} = inject_attribute_to_last_opened([buffer], attribute)
