Skip to content
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

Replace illegal characters in filenames with Unicode lookalikes #324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WetHat
Copy link

@WetHat WetHat commented Nov 17, 2024

This pull request addresses issue #321 and #291 complaining about special characters in filenames.

Filenames in Obsidian are of primary importance as they are also used as note titles. Therefore, the current brute force approach of filename sanitization destroys note titles whenever illegal characters are involved. This cause unnecessary manual cleanup effort.

This pull request upgrades sanitizeFileName to replace illegal characters with legal Unicode characters that look similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant