|
@@ -260,7 +260,8 @@ extension KMNoteTableViewCell {
|
|
|
if(contentString.isEmpty == false) {
|
|
|
self.foldButton.isHidden = false
|
|
|
}
|
|
|
- noteString = contentString.replacingOccurrences(of: "\r", with: "")
|
|
|
+
|
|
|
+ noteString = noteString.replacingOccurrences(of: "\r", with: "")
|
|
|
let attributeStr = NSMutableAttributedString(string: noteString)
|
|
|
if (markup.markupType() == .highlight) {
|
|
|
attributeStr.addAttribute(.backgroundColor, value: noteColor as Any, range: NSMakeRange(0, noteString.count))
|