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

Suspected bug: Task titles containing apostrophes throw an error #4

Closed
apkawel opened this issue Apr 18, 2022 · 1 comment
Closed

Comments

@apkawel
Copy link

apkawel commented Apr 18, 2022

First, thank you for this workflow, and for starting to rewrite it in JXA after it broke. This is one of the best workflows I have for Alfred, and it was a big relief to get it working again yesterday!

Bug report:

If the task title contains an apostrophe, the workflow throws an error similar to the one in the attached image. I imagine that it's either a regex issue or else that some part of the code needs to be escaped.

Example tasks:

  • I've got a test
  • plan for Dad's birthday

screen shot 2022-04-18 at 18 03 24

screen shot 2022-04-18 at 17 57 59

rhydlewis added a commit that referenced this issue Apr 19, 2022
@rhydlewis
Copy link
Owner

Thanks for spotting that - annoying bug. Now fixed in v1.0.5.

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

No branches or pull requests

2 participants