mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 02:40:15 +01:00
🐛 File names ending with . will be considered as missing assets
🎨 Improve HTML clipping https://github.com/siyuan-note/siyuan/issues/13355
This commit is contained in:
parent
821a58d895
commit
22190b532d
8 changed files with 36 additions and 25 deletions
|
|
@ -500,7 +500,7 @@ func buildSnapshots(logs []*dejavu.Log) (ret []*Snapshot) {
|
|||
|
||||
func statTypesByPath(files []*entity.File) (ret []*TypeCount) {
|
||||
for _, f := range files {
|
||||
ext := path.Ext(f.Path)
|
||||
ext := util.Ext(f.Path)
|
||||
if "" == ext {
|
||||
ext = "NoExt"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue