From dead40d2c42fd7a649cc1138d4ae0978f1415c96 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 8 Sep 2025 16:43:23 +0300 Subject: [PATCH] Invalidate caches on both attributed string builders at the same time --- ElementX/Sources/Other/HTMLParsing/AttributedStringBuilder.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ElementX/Sources/Other/HTMLParsing/AttributedStringBuilder.swift b/ElementX/Sources/Other/HTMLParsing/AttributedStringBuilder.swift index 69b3ffb7b..efc436e97 100644 --- a/ElementX/Sources/Other/HTMLParsing/AttributedStringBuilder.swift +++ b/ElementX/Sources/Other/HTMLParsing/AttributedStringBuilder.swift @@ -42,6 +42,7 @@ struct AttributedStringBuilder: AttributedStringBuilderProtocol { static func invalidateCaches() { AttributedStringBuilderV1.invalidateCaches() + AttributedStringBuilderV2.invalidateCaches() } init(cacheKey: String = defaultKey, mentionBuilder: MentionBuilderProtocol) {