@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searpent/react-image-annotate",
3
- "version": "2.0.62",
3
+ "version": "2.0.63",
4
4
  "dependencies": {
5
5
  "@editorjs/editorjs": "^2.25.0",
6
6
  "@editorjs/paragraph": "^2.8.0",
@@ -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 = " ";