Skip to content

Apostrophe in tag name #6078

Description

@sergeolkhovik

Pre-submission Checklist

  • I have searched existing issues and confirmed this has not already been reported
  • I have reproduced this bug on the latest Memos release, current main, or the demo site, or this report is specifically about upgrading to the latest release
  • This is a bug report, not a question or configuration request

Affected Area

Web UI

Reproduced On

Latest release

Memos Version Tested

neosmemo/memos:stable (docker), Version: 0.29.1

Previous Version

No response

Environment Details

Server: Ubuntu 26.04 + nginx + docker + mariadb, client: Chrome 149.0.7827.116 on MacOS M1 26.5.
The problem is that in Ukrainian language apostrophe symbol is widely used, for example: сімʼя (family). And when I type such word as a tag name (i.e. #сім'я) then only part of the word becomes a tag:

Image Image Image

Happens both via WebUI and memogram (0.5.0).

Reproduction Frequency

Always

Steps to Reproduce

  1. Add new memo (or edit existing one)
  2. Type some text and put some tags in Ukrainian including apostrophe (#сімʼя): Це буде тест #сім'я
  3. Hit Ctrl-Enter to save the note
  4. Only '#сім' will become a tag.

Current Behavior

On saving the content with tag incuding apostrophe only part of the text becomes a tag.
This appears both in the note and in the tags list.

Expected Behavior

The entire text (i.e. "#сімʼя") should be a tag.

Regression Information

No response

Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions