@searpent/react-image-annotate 2.0.62 → 2.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ function blocksToArticle(blocks) {
|
|
|
29
29
|
acc[labelName] = "";
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
var connectingSymbol = ""; // if last symbol is dot, next sentence should start with space
|
|
32
|
+
var connectingSymbol = labelName === 'text' ? "" : "<br>"; // if last symbol is dot, next sentence should start with space
|
|
33
33
|
|
|
34
34
|
if (acc[labelName].charAt(acc[labelName].length - 1) === ".") {
|
|
35
35
|
connectingSymbol = " ";
|