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: 🐛 header transclusion #533

Merged
1 commit merged into from
Jan 16, 2024
Merged

fix: 🐛 header transclusion #533

1 commit merged into from
Jan 16, 2024

Conversation

uroybd
Copy link
Contributor

@uroybd uroybd commented Dec 28, 2023

Obsidian replaces some special characters (e.g. :) from the header if selected from the autocomplete. This leads to a header mismatch on transclusion.

This PR compares headers by converting them to slugs to mitigate this issue.

@oleeskild oleeskild self-assigned this Jan 16, 2024
@oleeskild oleeskild closed this pull request by merging all changes into oleeskild:main in 287c002 Jan 16, 2024
@oleeskild
Copy link
Owner

Great, thanks! I've added som tests in the test vault and verified that everything is working correctly. Releasing it asap

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.

None yet

2 participants