           end
 
     spaces = %{}
-    if parts["leading_space"] != "", do: spaces = Dict.put(spaces, :leading, true)
-    if parts["trailing_space"] != "", do: spaces = Dict.put(spaces, :trailing, true)
+    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 ->

        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)

      {_, text} = String.split_at(line, text_indent)
      text
    end)
    text_lines = if head_text == "", do: text_lines, else: [head_text | text_lines]
    {text_lines, rest}
  end

