Skip to content

Issue with Zero-Width Spaces in Substituted Variables in Messages #29

@RPleshkov

Description

@RPleshkov

Words in the message that are inserted as variables ({$word}) from the .tfl file contain zero-width spaces (invisible characters) at random positions within the text.

This issue may lead to incorrect display, parsing problems, or unintended behavior when processing the messages. Since zero-width spaces are non-printable characters, they can be difficult to detect without specialized tools but still affect the functionality and integrity of the output.

Steps to Reproduce:

  1. Insert a variable ({$word}) into a message using the .tfl file.
  2. Observe the resulting message in the output.

Expected Behavior:
The substituted variables should not include any zero-width spaces or other invisible characters. The output message should be clean and free of unnecessary formatting issues.

2025-02-08.18-06-54.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions