Skip to content
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

Event titles cannot start with ":(" or ":)" #123

Open
KebabRonin opened this issue Jul 29, 2024 · 0 comments
Open

Event titles cannot start with ":(" or ":)" #123

KebabRonin opened this issue Jul 29, 2024 · 0 comments

Comments

@KebabRonin
Copy link

When creating an event in the calendar page which starts with either ":(" or ":)", the UI will automatically remove the aforementioned prefix.

  • When the title is ":)", the event will not be created but a green 'Done' notification is displayed, implying a successful operation. When the title is ":(" the event is created with an empty display title;
  • If the title contains more characters (eg. ":(())"), then the title displayed in the calendar will not contain the prefix ("())"). This happens while at the same time the event view page still shows the original title;
  • When manually creating an event with the name ":(" the displayed title is "WebHome";
  • When creating two events with the same name (with the prefix, eg. ":(())"), the message "An event with this name already exists." is shown. This is in contrast to regular events with duplicate names, which are not normally forbidden (I was able to create multiple events with the same name ("123") and no issue/error);

The issue might be due to not escaping or parsing the title text as wikitext or velocity (the title is replaced when it is a variable name such as "$doc").

If this is intended behavior then maybe add a notification that the title is parsed and will not be displayed as-is in the calendar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant