diff --git a/Sources/WordPressShared/Utility/String+StripGutenbergContentForExcerpt.swift b/Sources/WordPressShared/Utility/String+StripGutenbergContentForExcerpt.swift index 71c9fe6..037933c 100644 --- a/Sources/WordPressShared/Utility/String+StripGutenbergContentForExcerpt.swift +++ b/Sources/WordPressShared/Utility/String+StripGutenbergContentForExcerpt.swift @@ -19,10 +19,10 @@ extension String { return removingMatches(pattern: pattern, options: .caseInsensitive) } - /// Strips Gutenberg VideoPress block. + /// Strips VideoPress references from Gutenberg VideoPress and Video blocks. /// private func strippingGutenbergVideoPress() -> String { - let pattern = "(?s)\n?" + let pattern = "(?s)\n?" return removingMatches(pattern: pattern, options: .caseInsensitive) }