nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
550 stars 168 forks source link

Ampersand Display Error (&) #3948

Open aquaritus opened 1 month ago

aquaritus commented 1 month ago

Describe the bug

When using the ampersand type "&", the apps shows "&" after saving the contact. The error shows up consistently over every contact that includes one ampersand. While the contact is ot saved the ampersand is shown correct. After saving the display error occurs. Correct_ed
![Display_error_after_saved](https://github.com/nextcloud/contacts/assets/1929316/6dd4a9a2-bd68-409d-a3a0-b3216ba00307)
iting

Steps to reproduce

  1. Go to contacts app
  2. Click on create new contact
  3. Enter a company name for example that includes an ampersand.
  4. Save the contact.
  5. See error

Expected behavior

The ampersand symbol should show up correcty as "&".

Actual behavior

After saving the contact, the ampersand symbol is shown as "&"

Contact version

4.6.3

Operating system

Linux 5.15.0-107-generic x86_6

PHP engine version

Other

Web server

Other

Database

MySQL

Additional info

PHP Version 8.2.14 Webserver: Managed Nextcloud from IONOS

hamza221 commented 2 weeks ago

The ampersand symbol should show up correcty as "&"

Vs

After saving the contact, the ampersand symbol is shown as "&"

I'm not sure I understand the Bug, what's the incorrect representation ?

aquaritus commented 2 weeks ago

When you enter the data an hit save, it is shown correctly. But only as long as the page is open. If you open the entry later, the ampersand is shown incorrectly. I hope this makes it a little bit clearer.

hamza221 commented 2 weeks ago

Can you maybe provide a screenshot

aquaritus commented 1 week ago

Screenshot 2024-07-05_00 Screenshot 2024-07-05_01

hamza221 commented 1 week ago

I can't reproduce what version of contacts are you using, 4.6.3 doesn't exist

aquaritus commented 1 week ago

I justed checked and it is 5.5.1