-
Notifications
You must be signed in to change notification settings - Fork 15
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
Template Categories containing space characters disrupt the template menus #222
Comments
So apparently the selector (based on attribute) is failing as it is misinterpreted as a descendant selector. It's a little unfortunate that it doesn't simply return no results but also throws an exception. For a discussion on the selector issue, see this stackoverflow post. The fix is relatively trivial, I will wrap the category in single quotes. Here is a new test version: smartTemplate-fx-3.15.2pre3.zip This works with Category Names that contain spaces and even Umlauts. (I haven't tested non-standard character sets yet). To install the version, download the zip file above and then drag the file into Thunderbird Add-ons Manager (do not extract contents). |
Maybe you can also replace each white-space character with %20 in the same way as thunderbird do (or I'm wrong?). |
Fixed in version 3.16 published on 6th of March 2023 |
When we add a category that contains space characters, this will not display the contained elements and any elements following in the definition.
In error console we see the following exception:
Uncaught DOMException: Element.querySelector: '[templateCategory=Smart Templates]' is not a valid selector
The text was updated successfully, but these errors were encountered: