mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
fix: issue with special char in filename (closes #207)
This commit is contained in:
@@ -232,7 +232,7 @@ end
|
|||||||
|
|
||||||
local function generate_note_filename(uuid, title)
|
local function generate_note_filename(uuid, title)
|
||||||
if M.Cfg.filename_space_subst ~= nil then
|
if M.Cfg.filename_space_subst ~= nil then
|
||||||
title = escape(title):gsub(" ", M.Cfg.filename_space_subst)
|
title = title:gsub(" ", M.Cfg.filename_space_subst)
|
||||||
end
|
end
|
||||||
|
|
||||||
local pp = Path:new(title)
|
local pp = Path:new(title)
|
||||||
|
|||||||
Reference in New Issue
Block a user