-
Bug
-
Resolution: Fixed
-
Normal
-
9.6.1
-
Security Level: Jimmy
-
ZK 9.6.1
Java 17
Spring Boot 2.5.9
ZK Spring Boot 2.3.0
-
None
Steps to Reproduce
Create a chosen box with an empty message content containing an apostrophe character ('), for example this french content :
<chosenbox emptyMessage="rôle dans l'organisation" />
Current Result
Apostrophe character is not displayed correctly, the hex character code is displayed instead.
Text is renderred as
"rôle dans l'organisation".
Expected Result
Apostrophe is correctly encoded.
Text is renderred as "rôle dans l'organisation".
Debug Information
Same result on Firefox, Chrome, Edge, and Brave browsers.
I have tried to use HTML entity ' or decimal code ' without any success.
I don't have any problem with other components.
A fiddle : https://zkfiddle.org/sample/28i9fm6/1-chosenbox-emptyMessage-apostrophe-encoding
Workaround