     private var parsedTags: [AshtonXMLParser.Tag] = []
     private var appendNewlineBeforeNextContent = false
     private var unknownFonts: [String] = []
-    private var parseCompletionHandler: AshtonHTMLReadCompletionHandler?
+    private var readCompletionHandler: AshtonHTMLReadCompletionHandler?
     private let xmlParser = AshtonXMLParser()
 
     func decode(_ html: Ashton.HTML, defaultAttributes: [NSAttributedString.Key: Any] = [:], completionHandler: @escaping AshtonHTMLReadCompletionHandler) -> NSAttributedString {

    
    func didParseContent(_ parser: AshtonXMLParser, string: String) {
        self.appendToOutput(string)
        self.parseCompletionHandler?(AshtonHTMLReadResult(unknownFonts: self.unknownFonts))
    }
    
    func didOpenTag(_ parser: AshtonXMLParser, name: AshtonXMLParser.Tag, attributes: [NSAttributedString.Key : Any]?) {

        self.appendNewlineBeforeNextContent = false
        self.attributesStack = [defaultAttributes]
        self.unknownFonts = []
        self.readCompletionHandler = completionHandler
        
        self.xmlParser.delegate = self
        self.xmlParser.parse(string: html)
