Skip to content

Are tags with spaces supported? #1194

Answered by vkbo
wickertongue asked this question in Help
Discussion options

You must be logged in to vote

The algorithm that processes tags only splits by comma, and doesn't care what is between commas, including spaces (although it ignores leading and trailing white spaces).

However, there is one exception, which is when you use the Ctrl+Enter shortcut to follow a tag in the editor, only the word under the cursor is picked up. You can clearly see this from the error message. Here the code uses some internal logic from the Qt library. That is certainly inconsistent, and should probably be fixed. I will create an issue ticket from this.

I rewrote the part of the code that lets you follow tags a while back, and may have forgotten about spaces in the process.

TLDR: Yes, spaces should be allowed.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wickertongue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants