Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

docs: LEAP-615: Mention spaces saving for Text tag #1682

Merged
merged 3 commits into from
Feb 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tags/object/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* The `Text` tag shows text that can be labeled. Use to display any type of text on the labeling interface.
* You can use `<Style>.htx-text{ white-space: pre-wrap; }</Style>` to preserve all spaces in the text, otherwise spaces are trimmed when displayed.
* 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.
* Every space in the text sample is counted when calculating result offsets, for example for NER labeling tasks.
*
* Use with the following data types: text.
Expand Down
Loading