[GH-ISSUE #994] Smart lists don’t respect curly double quotes (For tags with spaces) #657

Closed
opened 2026-03-02 11:51:41 +03:00 by kerem · 3 comments
Owner

Originally created by @InfernalError on GitHub (Feb 8, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/994

Describe the Bug

When creating a new smart list and attempting to set the query using the tag qualifier with a double quoted string to effective set the smart list to a specific tag with a space in it example: #”Spaced tag”, the parser does not respect the double quotes and treats the word after the space like a new term. This even happens when editing and saving existing lists that this worked for previously.

Steps to Reproduce

  1. Create a new list and set it to smart list
  2. Enter a tag qualifier with a double quoted string to set the query to a single tag with a space in the name

Expected Behaviour

The list is created and is set to all items with that tag assigned

Screenshots or Additional Context

Image

Device Details

No response

Exact Hoarder Version

V0.22.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @InfernalError on GitHub (Feb 8, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/994 ### Describe the Bug When creating a new smart list and attempting to set the query using the tag qualifier with a double quoted string to effective set the smart list to a specific tag with a space in it example: #”Spaced tag”, the parser does not respect the double quotes and treats the word after the space like a new term. This even happens when editing and saving existing lists that this worked for previously. ### Steps to Reproduce 1. Create a new list and set it to smart list 2. Enter a tag qualifier with a double quoted string to set the query to a single tag with a space in the name ### Expected Behaviour The list is created and is set to all items with that tag assigned ### Screenshots or Additional Context ![Image](https://github.com/user-attachments/assets/6da9db6e-9948-4676-85a1-67ab566df6a2) ### Device Details _No response_ ### Exact Hoarder Version V0.22.0 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:51:41 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@MohamedBassem commented on GitHub (Feb 8, 2025):

Judging by the text in your issue, it seems that you're using ” (curly/typographic double quotes) as the double quotes, when it's supposed to be " (straight double quotes). This might be a keyboard language difference? The parser only supports straight double quotes.

<!-- gh-comment-id:2645393328 --> @MohamedBassem commented on GitHub (Feb 8, 2025): Judging by the text in your issue, it seems that you're using ” (curly/typographic double quotes) as the double quotes, when it's supposed to be " (straight double quotes). This might be a keyboard language difference? The parser only supports straight double quotes.
Author
Owner

@InfernalError commented on GitHub (Feb 8, 2025):

That seems to have been the problem. I use Hoarder primarily on iOS, and on iOS it seems like the only way to get straight quotations is to go into Settings > general > keyboard and disable "Smart punctuation"

<!-- gh-comment-id:2645932900 --> @InfernalError commented on GitHub (Feb 8, 2025): That seems to have been the problem. I use Hoarder primarily on iOS, and on iOS it seems like the only way to get straight quotations is to go into Settings > general > keyboard and disable "Smart punctuation"
Author
Owner

@MohamedBassem commented on GitHub (Feb 9, 2025):

Today I learned :) Closing the issue for now, feel free to open it if you still need help.

<!-- gh-comment-id:2646355761 --> @MohamedBassem commented on GitHub (Feb 9, 2025): Today I learned :) Closing the issue for now, feel free to open it if you still need help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#657
No description provided.