Open jheyming opened 4 months ago
Describe the bug
If you have emojis in Text data, highlighting them generates glyphs �
I found that if I turn off FF_LSDV_4620_3, the issue goes away:
The issue seems to be
self._spans = self.parent.createSpansByGlobalOffsets(self.globalOffsets);
https://github.com/HumanSignal/label-studio/blob/develop/web/libs/editor/src/mixins/HighlightMixin.js#L70
The spans that are generated have strange \u characters.
To Reproduce Steps to reproduce the behavior:
<Text>
<Lables>
Expected behavior The emojis are properly highlighted
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.
/jira create
Workflow run Jira issue TRIAG-764 is created
Hi @jheyming, nice catch on that feature flag - can you also let us know what version of Label Studio you're currently on? We'll investigate.
Describe the bug
If you have emojis in Text data, highlighting them generates glyphs �
I found that if I turn off FF_LSDV_4620_3, the issue goes away:
The issue seems to be
https://github.com/HumanSignal/label-studio/blob/develop/web/libs/editor/src/mixins/HighlightMixin.js#L70
The spans that are generated have strange \u characters.
To Reproduce Steps to reproduce the behavior:
<Text>
tag with<Lables>
.Expected behavior The emojis are properly highlighted
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.