         [unquote(buffer) | unquote(to_safe(expr, line))]
       end
     end
+
+    {buf, "{{{{@attribute}}}}"}
   end
 
   @doc false

  end


  # defp to_html(ast) do
  #   {_, result} = Macro.prewalk ast, [], fn node, acc ->
  #     case node do
  #       {_, _, atom} when is_atom(atom) -> {node, acc}
  #       {_, _, string} when is_binary(string) -> {node, [string | acc]}
  #       {_, _, list} -> {node, [Enum.filter(list, fn x -> is_binary(x) end) | acc]}
  #       _ -> {node, acc}
  #     end
  #   end
  #   result |> List.flatten() |> Enum.join()
  # end

  #   defp deep_find(list, what) when is_list(list) do
  #   Enum.find(list, fn x -> 
  #     deep_find(x, what)
  #   end)
  # end
  # defp deep_find(string, what) when is_binary(string), do: String.contains?(string, what)
  # defp deep_find({_, _, list}, what), do: deep_find(list, what)
  # defp deep_find(_, _), do: false



  # The expression is inside the <script> tag
  defp inject_script(buffer, expr, line) do
    # IO.puts ""

    #     [unquote(assigns_js), unquote(buffer), unquote(to_safe(expr, line))]
    #   end
    # else 
      {quote do
        [unquote(buffer) | unquote(to_safe(expr, line))]
      end, "{{{{@script}}}}"}
    # end
    
  end
