(fix): fix display of preview content (#950)
Don't modify line-breaks in preview content. Closes #630.
This commit is contained in:
parent
eb7ee0ef6c
commit
80390b5a84
1 changed files with 1 additions and 3 deletions
|
@ -142,9 +142,7 @@ For example: (setq org-roam-buffer-window-parameters '((no-other-window . t)))"
|
|||
(org-roam--get-title-or-slug file-from)))
|
||||
(dolist (backlink bls)
|
||||
(pcase-let ((`(,file-from _ ,props) backlink))
|
||||
(insert (propertize
|
||||
(s-trim (s-replace "\n" " "
|
||||
(plist-get props :content)))
|
||||
(insert (propertize (plist-get props :content)
|
||||
'help-echo "mouse-1: visit backlinked note"
|
||||
'file-from file-from
|
||||
'file-from-point (plist-get props :point)))
|
||||
|
|
Loading…
Reference in a new issue