Fix: after saving all line breaks disappear in cache notes

better solution compared to the old one.