Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ninxsoft committed Aug 25, 2021
1 parent 69351a6 commit 2025f4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions KMART/Extensions/String+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ extension String {
}

func escapingMarkdown() -> String {
self.replacingOccurrences(of: "\\", with: "\")
.replacingOccurrences(of: "[", with: "[")
self.replacingOccurrences(of: "[", with: "[")
.replacingOccurrences(of: "\\", with: "\")
.replacingOccurrences(of: "]", with: "]")
.replacingOccurrences(of: "|", with: "|")
.replacingOccurrences(of: "_", with: "_")
.replacingOccurrences(of: "|", with: "|")
}
}

0 comments on commit 2025f4d

Please sign in to comment.