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

Unexpected yankpad-expand behavior #46

Closed
ndw opened this Issue Feb 4, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@ndw
Copy link

ndw commented Feb 4, 2019

Consider this fragment of my yankpad file:

** Simple string replacements                                   :snippetlist:

   - wtf :: ¯\_(ツ)_/¯

The yankpad-expand replacement for wtf is "¯\". Oddly, if I replace the first underscore with a "." or other character, it works fine. So for some reason backslash followed by underscore stops the expansion. Putting in an extra backslash doesn't help.

@Kungsgeten

This comment has been minimized.

Copy link
Owner

Kungsgeten commented Feb 4, 2019

Thanks for reporting this! The problem had to do with the org-element API and how I used it. It seems to treat text followed by a backslash in some special way. I've commited a patch which seems to fix the issue.

@Kungsgeten Kungsgeten closed this Feb 4, 2019

@ndw

This comment has been minimized.

Copy link
Author

ndw commented Feb 4, 2019

Yep. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment