mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
fix: incorrect page title when 'hls__' is opened (#8697)
* dev: move 'hls-file?' to pdf-utils * dev: use 'hls-file?' instead of string comparison * fix: window title when hls file opened
This commit is contained in:
@@ -572,7 +572,7 @@
|
||||
(t :untitled)
|
||||
|
||||
;; The page-name-in-block generated by the auto-complete is not page-name-sanitized
|
||||
(string/starts-with? page-name "hls__")
|
||||
(pdf-utils/hls-file? page-name)
|
||||
(pdf-utils/fix-local-asset-pagename page-name)
|
||||
|
||||
(not= (util/safe-page-name-sanity-lc original-name) page-name-in-block)
|
||||
|
||||
Reference in New Issue
Block a user