-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsanitized filename #20
Comments
the cleanTitle function focuses on characters that are strictly disallowed by Obsidian and the filesystem. I'm hesitant to add that said, i'm planning to add some slurp-time options as the next big feature, eg: add/remove tags and override the save location. could add title there as well and have it display a warning if seems like that might be a good middle ground vs deciding for people what it should be replaced with. |
Well, that's exactly what the Strictly speaking, the slash But yeah, simply a setting for the user to decide for themselves would be fine as well, though I think stuff like |
that's a fair point. either way, i'll look into this soonish |
should be fixed in 0.1.12! |
It appears the file name is not properly sanitized when slurping. While stuff like
/
does not seem to appear for me, I noticed that#
and various special characters like the middle dot are kept in the file name when for example slurping a github issue.A
#
in a filename breaks internal links in Obsidian, because the#
is interpreted as an attempt to link a heading, and thus not considered part of the filename.The text was updated successfully, but these errors were encountered: