Skip to content

Commit

Permalink
fix: pr reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 committed Jul 24, 2023
1 parent e3b2ae7 commit baf60e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions FlowCryptCommon/Extensions/StringExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ public extension String {
}

func isHTMLString() -> Bool {
if let _ = self.range(of: "^\\s*(<!doctype html[\\s\\S]*>)?\\s*<[a-z][\\s\\S]*>\\s*$", options: [.regularExpression, .caseInsensitive]) {
return true
}
return false
return self.range(of: "^\\s*(<!doctype html[\\s\\S]*>)?\\s*<[a-z][\\s\\S]*>\\s*$", options: [.regularExpression, .caseInsensitive]) != nil
}

func removingMailThreadQuote() -> String {
Expand Down

0 comments on commit baf60e6

Please sign in to comment.