From f85a248499b6253d0c8b62145c3285e2c33991e5 Mon Sep 17 00:00:00 2001 From: lihucheng Date: Fri, 8 Apr 2022 10:17:18 +0800 Subject: [PATCH] Fix bug convertxml cannot work issue:https://gitee.com/openharmony/js_api_module/issues/I50PPE Signed-off-by: lihucheng --- convertxml/js_convertxml.cpp | 1 + convertxml/src/js_convertxml.ts | 17 ++++------------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/convertxml/js_convertxml.cpp b/convertxml/js_convertxml.cpp index 00eb25d..f81373d 100755 --- a/convertxml/js_convertxml.cpp +++ b/convertxml/js_convertxml.cpp @@ -315,6 +315,7 @@ namespace OHOS::Xml { Replace(strXml, "\\r", "\r"); Replace(strXml, "\\n", "\n"); Replace(strXml, "\\v", "\v"); + Replace(strXml, "\\t", "\t"); Replace(strXml, "]]>