From 3e24d2dffa2fd84b53ae3d93f29f5cd4c9585bbd Mon Sep 17 00:00:00 2001 From: rk <304825094@qq.com> Date: Sat, 12 Feb 2022 11:41:04 +0800 Subject: [PATCH] Update content.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 去除PDF换行 --- src/js/content.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/content.js b/src/js/content.js index c7dc045..1beb635 100644 --- a/src/js/content.js +++ b/src/js/content.js @@ -894,6 +894,7 @@ function sendQuery(text) { if (!text) text = textTmp if (!text) return } + text=text.replace(/\u0002/g,"") let el = I('dmx_navigate') let action = el.querySelector('.active') && el.querySelector('.active').getAttribute('action') if (!action) {