             when 'BLOCKQUOTE', 'DD' then after = @pushLeft '> '
             # Links on the other hand are probably the trickiest.
             when 'A'
-              # Extract the link URL from `ele`.  
-              # Links with no URLs are treated just like text-containing elements (e.g. `span`).  
+              # Extract the link URL from `ele`.
+              # Links with no URLs are treated just like text-containing elements (e.g. `span`).
               # `a.href` always returns an absolute URL while `a.getAttribute('href')` always
               # returns the exact value of the `href` attribute. For this reason we need to be sure
               # that we extract the URL correctly based on the state of the `absolute` option.

              after   = @outputLater "]#{suffix}"
            # Images are very similar to links, just without the added complexity of references.
            when 'IMG'
              # Extract the image URL from `ele`.  
              # Unlike links, any image without a URL is just ignored. Obviously, any contents of
              # an `img` element are always ignored since they can never contain anything valid.  
              # `img.src` always returns an absolute URL while `img.getAttribute('src')` always
              # returns the exact value of the `src` attribute. For this reason we need to be sure
              # that we extract the URL correctly based on the state of the `absolute` option.

    @append str.replace /\n/g, @left

  # Create a function that can be called later to append `str` to the buffer string while keeping
  # the parser in context.
  # This function is just a lazy shorthand.
  outputLater: (str) ->
    => @output str
