Fix accessibility anchor issue 77/324877/2
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 28 May 2025 06:24:21 +0000 (15:24 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Wed, 28 May 2025 09:43:19 +0000 (18:43 +0900)
commitda26f0848ca893c0bd486b7b9341e2181207b836
tree67bb419a49457df88dc377c0344fe5c996a978a8
parent4e7d037862cc28f36db6d8baa0c8fbbe0fb7de22
Fix accessibility anchor issue

- UTF-8 encoding is required.
- Previously, assigning UTF-32 characters to std::string worked by coincidence.
- In corner cases, the href of an anchor can be nullptr.
- Assigning nullptr to std::string can cause a crash.

Change-Id: I247b118408daaeb4f0560e167daa33e06e01614b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/controller/text-controller-impl.cpp