action_handle_img (Raggle::HTML::Renderer)

    # File raggle, line 1022
          def action_handle_img
            return if not @current_attributes['src']
            @images << @current_attributes['src']
            if @lines[-1]
              title = ''
              if @current_attributes['title'] and @current_attributes['title'].length > 0
                title = @current_attributes['title']
              elsif @current_attributes['alt'] and @current_attributes['alt'].length > 0
                title = @current_attributes['alt']
              end
              if title == ''
                @lines[-1] << '[img %d]' % @images.size
              else
                @lines[-1] << '[img %d: %s]' % [ @images.size, title ]
              end
            end
          end