mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
enhance(pdf): make the weblink pdf filename to be human-readable for the annotations page
This commit is contained in:
@@ -183,6 +183,7 @@
|
||||
(-> filename
|
||||
(subs 0 (if local-asset? (- len 15) len))
|
||||
(string/replace #"^hls__" "")
|
||||
(string/replace #"__[-\d]+$" "")
|
||||
(string/replace "_" " ")
|
||||
(string/trimr))
|
||||
filename))))
|
||||
|
||||
Reference in New Issue
Block a user