         let extraIndent = paragraphStyle.blockquoteIndent
         let extraRect = blockquoteRect(origin: origin, lineRect: extraLineFragmentRect, blockquoteIndent: extraIndent, lineEndsParagraph: false)
 
-        drawBlockquote(in: extraRect.integral, with: context)
+        drawBlockquoteBackground(in: extraRect.integral, with: context)
+        drawBlockquoteBorder(in: extraRect.integral, with: context, at: 0)
     }
 
 

                    
                    let nestRect = self.blockquoteRect(origin: origin, lineRect: rect, blockquoteIndent: indent, lineEndsParagraph: lineEndsParagraph)
                    
                    self.drawNestedBlockquote(in: nestRect.integral, with: context, at: index)
                }
                
            

        return blockquoteRect
    }
    
    private func drawBlockquoteBorder(in rect: CGRect, with context: CGContext, at depth: Int) {
        
        let quoteCount = blockquoteBorderColors.count
        let index = min(depth, quoteCount-1)
        
        if blockquoteBorderColors.indices.contains(index) {
            let borderColor = blockquoteBorderColors[index]
