diff options
| author | marcellus <msimon_fr@hotmail.com> | 2025-04-14 18:00:23 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2025-04-14 18:00:23 +0200 |
| commit | ec8b70c184b847f886e63f9718a9cb1329ae71d2 (patch) | |
| tree | 75fb15602be9d400e3395a12456c91672a7f0357 /.obsidian/plugins/obsidian-enhancing-export/lua/url.lua | |
| parent | 51584e1fe07456a01dc14504b214d068c62e8fe6 (diff) | |
chore: rm-d .obsidian
Diffstat (limited to '.obsidian/plugins/obsidian-enhancing-export/lua/url.lua')
| -rwxr-xr-x | .obsidian/plugins/obsidian-enhancing-export/lua/url.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/.obsidian/plugins/obsidian-enhancing-export/lua/url.lua b/.obsidian/plugins/obsidian-enhancing-export/lua/url.lua deleted file mode 100755 index 4798146..0000000 --- a/.obsidian/plugins/obsidian-enhancing-export/lua/url.lua +++ /dev/null @@ -1,18 +0,0 @@ -local function encode (str) - str = string.gsub (str, "([^0-9a-zA-Z !'()*._~-])", -- locale independent - function (c) return string.format ("%%%02X", string.byte(c)) end) - str = string.gsub (str, " ", "%%20") - return str - end - - -local function decode (str) - str = string.gsub (str, "%%20", " ") - str = string.gsub (str, "%%(%x%x)", function(h) return string.char(tonumber(h,16)) end) - return str -end - -return { - encode = encode, - decode = decode -}
\ No newline at end of file |
