Unterminated JSON String When Using Special Characters in Tooltip Title
-
Hello,
The “Title Content” field of a tooltip causes an issue when the string contains certain special characters — especially the typographic curly apostrophe: ’ (U+2019).
When this character is inserted without proper escaping inside a JSON string, it can break the JSON structure and trigger the following error:
Uncaught SyntaxError: Unterminated string in JSON at position XXXThis means that the JSON parser believes the string ends prematurely because an internal character is interpreted either as a closing quote or as an invalid character within a JSON string.
You must be logged in to reply to this topic.