   str = padStr + str for i in [0...times]
   str
 
-# Remove whitespace from both ends of `str`.  
+# Remove whitespace from both ends of `str`.
 # This tries to use the native `String.prototype.trim` function where possible.
 trim = (str = '') ->
   if str.trim then str.trim() else str.replace /^\s+|\s+$/g, ''

            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`).  
              # `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.

    @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
