Are tags with spaces supported? #1194
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 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. This is a bug. |
Beta Was this translation helpful? Give feedback.
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.…