 
         parse_tag = fn (tag) -> tag |> String.first |> parse_line(tag) end
         tag = parse_tag.(tag)
-        if inline_tag do
+        tag = if inline_tag do
           inline_tag = parse_tag.(inline_tag)
           {tag_name, attrs} = tag
-          tag = {tag_name, [{:children, [inline_tag]} | attrs]}
+          {tag_name, [{:children, [inline_tag]} | attrs]}
+        else
+          tag
         end
 
         {indentation, tag}

        text_indent = String.length(text_indent)
        {text_lines, rest} = parse_verbatim_text(indent, text_indent, head, tail)
        text = Enum.join(text_lines, "\n")
        if text_type == @preserved, do: text = text <> " "
        {{indent, parse_eex_string(text)}, rest}
    end
  end

  defp parse_verbatim_text(indent, text_indent, head, tail) do
    if String.length(head) == text_indent, do: text_indent = text_indent + 1
    {_, head_text} = String.split_at(head, text_indent)
    {text_lines, rest} = Enum.split_while(tail, fn (line) ->
      {line_indent, _} = strip_line(line)

          end

    spaces = %{}
    spaces = if parts["leading_space"] != "", do: Dict.put(spaces, :leading, true), else: spaces
    spaces = if parts["trailing_space"] != "", do: Dict.put(spaces, :trailing, true), else: spaces

    case Regex.named_captures(@id_regex, parts["css"]) do
      nil ->
