Skip to content

Unexpected results when using placeholders like [[TO=lastname]] #475

@uwe0612-cmd

Description

@uwe0612-cmd

When using the placeholder [[TO=lastname]], Quicktext outputs an incorrect value. For example, instead of "Fimpel", it outputs "Eberhardzell]" or other unexpected results.

To Reproduce
Steps to reproduce the behavior:

  1. Use Thunderbird (version: 115 ESR and regular, tested both).
  2. Install Quicktext (versions: 5.15, 5.18 or 6.3.5, which one doesn't matter).
  3. Create a contact with the following fields:
    • First name: Markus
    • Last name: Fimpel
    • Organization: Gemeinde Eberhardzell
  4. Use a template like: Guten Tag Frau [[TO=lastname]]!
  5. The output is: Guten Tag Frau Eberhardzell]!

Expected behavior
The placeholder should output only the last name, e.g. Fimpel.

Additional information

  • The error occurs both with CardBook enabled and disabled.
  • Other placeholders like [[TO=fullname]] and [[TO=organisation]] also show unexpected behavior.
  • Screenshots attached.

Thanks for your help!
Uwe

Screenshots

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    need feedbackFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions