Skip to content

Invalid or illegal string opening ZeNote settings when selected collection or sub-collection has ampersand (&) #30

@adrianvaneeden

Description

@adrianvaneeden

Hi. Great plugin, thank you so much.

Whenever I open ZeNotes settings when I have a collection or sub-collection selected that has an ampersand character (&) in it, it errors with:
SyntaxError: An invalid or illegal string was specified.

Image

The error is thrown twice, and then it goes into settings, but the Tag display and Tag sorting blocks at the top of the dialogue are blank.

Image

Similarly, ZeNotes list on a collection looks like this....

Image

Whereas I replace the ampersand with 'and' I get the right table:

Image

It's not a biggie, I think you are blocking some dangerous characters. I tested and also got the same on the less than (<) symbol. I understand why but it is useful to use the shortcut to keep title lengths down. Probably just an encoding fix?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions