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

Fix aliases with commas in them. #179

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

Conversation

Aurailus
Copy link

This PR aims to fix the fact that aliases with commas in them that are specified as a list will incorrectly be split by those commas.

For example:

aliases:
- December 19th, 2023

Will appear as two separate items, December 19th, and 2023. This is not in alignment with how Obsidian handles aliases in lists normally. To fix this, I've implemented a character sequence that option-multi lists are delimited by instead of a comma. It's just two random emoji, similar to other parts of the codebase. This allows Make.md to properly split the aliases.

I haven't done much testing for other parts of the codebase using option-multi, but at a glance, it all seems to be working. I hope this helps, and can be merged!

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