You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 18, 2024. It is now read-only.
docs: LEAP-615: Mention spaces saving for Text tag (#1682)
* docs: LEAP-615: Mention spaces saving for Text tag
Text tag is displayed as html, so all spaces are smashed by browser, and they also go like this to result. To avoid this users can add custom style in config, described in docs. But it only says that this affects displaying, not saving the result. Adding this note as well.
* Very small edit
---------
Co-authored-by: Caitlin Wheeless <[email protected]>
Co-authored-by: hlomzik <[email protected]>
Copy file name to clipboardExpand all lines: src/tags/object/Text.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
/**
4
4
* The `Text` tag shows text that can be labeled. Use to display any type of text on the labeling interface.
5
-
* You can use `<Style>.htx-text{ white-space: pre-wrap; }</Style>` to preserve all spaces in the text, otherwise spaces are trimmed when displayed.
5
+
* You can use `<Style>.htx-text{ white-space: pre-wrap; }</Style>` to preserve all spaces in the text, otherwise spaces are trimmed when displayed and saved in the results.
6
6
* Every space in the text sample is counted when calculating result offsets, for example for NER labeling tasks.
0 commit comments