@xuda.io/drive_module 1.1.984 → 1.1.986
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/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1810,7 +1810,8 @@ const ocr_drive_file = async function (app_id, doc) {
|
|
|
1810
1810
|
doc.ocr = ocr
|
|
1811
1811
|
.replace(/<\/?[^>]+(>|$)/g, "")
|
|
1812
1812
|
.replace(/[\n]/g, " ")
|
|
1813
|
-
.replace(/[\t]/g, "");
|
|
1813
|
+
.replace(/[\f\t]/g, "");
|
|
1814
|
+
doc.ocr_lang = lang;
|
|
1814
1815
|
doc.ocr_stat = 3;
|
|
1815
1816
|
} catch (err) {
|
|
1816
1817
|
doc.ocr_stat = 4;
|