We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1e4a82 commit 858f4b7Copy full SHA for 858f4b7
api/baseapi.cpp
@@ -1732,13 +1732,13 @@ char* TessBaseAPI::GetHOCRTSVText(int page_number) {
1732
hocr_str += "\t";
1733
do {
1734
const char *grapheme = res_it->GetUTF8Text(RIL_SYMBOL);
1735
- if (grapheme && grapheme[0] != 0) {
1736
- if (grapheme[1] == 0) {
1737
- hocr_str += HOcrEscape(grapheme);
1738
- } else {
+// if (grapheme && grapheme[0] != 0) {
+// if (grapheme[1] == 0) {
+// hocr_str += HOcrEscape(grapheme);
+// } else {
1739
hocr_str += grapheme;
1740
- }
1741
+// }
1742
delete []grapheme;
1743
res_it->Next(RIL_SYMBOL);
1744
} while (!res_it->Empty(RIL_BLOCK) && !res_it->IsAtBeginningOf(RIL_WORD));
0 commit comments