You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be better to limit what it wants to convert rather than what it doesn't want to convert.
It changes any word which is non-english filename
I tested making and linking file whose filename has puntuation characters.
The result is below
(), [], {},. , $, :, ?, *, ", <>, | : these are impossible to use
+, ^, !, &, ;, =, @, comma : these are possible to use
so I suggest use this line instead of current line
🚀 The feature, motivation and pitch
Problem
util.urlencode()
function inlua/obsidian/util.lua
changes non-english filename to hex.Reason
because it uses
url = url:gsub("([^/%w _%%%-%.~])", char_to_hex)
in this funcitonSuggestion
I think it would be better to limit what it wants to convert rather than what it doesn't want to convert.
It changes any word which is non-english filename
I tested making and linking file whose filename has puntuation characters.
The result is below
so I suggest use this line instead of current line
I am not good at to use regex, so it is the best what do I best.
I hope you can change it more precise.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: