问题记录
WordPress保存文章时,文章内包含的反斜杠会被当做转义符,导致保存后丢失反斜杠。
1. 复现问题
这个问题发现很久了,比如文章内包含PHP代码,又恰好代码使用了命名空间时,原代码:
<code class="language-php" style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.5; overflow-wrap: normal; word-break: normal; word-spacing: normal; background-position: 0px 0px; background-color: initial; text-shadow: 0 1px var(--theme-pre-code-shadow); font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; white-space: inherit; tab-size: 4; hyphens: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"><span class="token php language-php" style="font-size: 0.78rem; color: rgb(101, 164, 227); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"><span class="token delimiter important" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; font-weight: 700;"><?php</span> <span class="token keyword keyword-use" style="font-size: 0.78rem; color: rgb(0, 119, 170); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">use</span> <span class="token package" style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">\</span>Swoole<span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">\</span>Server</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> </span><span aria-hidden="true" class="line-numbers-rows" style="font-size: 14.976px; color: rgb(101, 164, 227); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; position: absolute; pointer-events: none; top: 0px; left: -3.8em; width: 3em; letter-spacing: -1px; border-right: 1px solid rgb(153, 153, 153); user-select: none;"><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span></span></code>
会变成下面这样:
<code class="language-php" style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.5; overflow-wrap: normal; word-break: normal; word-spacing: normal; background-position: 0px 0px; background-color: initial; text-shadow: 0 1px var(--theme-pre-code-shadow); font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; white-space: inherit; tab-size: 4; hyphens: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"><span class="token php language-php" style="font-size: 0.78rem; color: rgb(101, 164, 227); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"><span class="token delimiter important" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; font-weight: 700;"><?php</span> <span class="token keyword keyword-use" style="font-size: 0.78rem; color: rgb(0, 119, 170); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">use</span> <span class="token package" style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">SwooleServer</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> </span><span aria-hidden="true" class="line-numbers-rows" style="font-size: 14.976px; color: rgb(101, 164, 227); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; position: absolute; pointer-events: none; top: 0px; left: -3.8em; width: 3em; letter-spacing: -1px; border-right: 1px solid rgb(153, 153, 153); user-select: none;"><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span></span></code>
产生的影响也不小,只好研究研究如何解决这个问题。
2. 解决问题
通过对保存的环节进行分析,确定是在保存到数据库之前发生了转义,解决代码如下:
<code class="language-php" style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.5; overflow-wrap: normal; word-break: normal; word-spacing: normal; background-position: 0px 0px; background-color: initial; text-shadow: 0 1px var(--theme-pre-code-shadow); font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; white-space: inherit; tab-size: 4; hyphens: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"><span class="token doc-comment comment" style="font-size: 0.78rem; color: rgb(112, 128, 144); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">/** * 保留文章的反斜杠 */</span> <span class="token function" style="font-size: 0.78rem; color: rgb(221, 74, 104); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">add_filter</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">(</span> <span class="token string single-quoted-string" style="font-size: 0.78rem; color: rgb(102, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">'content_save_pre'</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">,</span> <span class="token string single-quoted-string" style="font-size: 0.78rem; color: rgb(102, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">'keep_slash'</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">)</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> <span class="token variable" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">$document_content_save_pre</span> <span class="token operator" style="font-size: 0.78rem; color: rgb(154, 110, 58); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; background: rgba(255, 255, 255, 0.5);">=</span> <span class="token number" style="font-size: 0.78rem; color: rgb(153, 0, 85); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">1</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> <span class="token comment" style="font-size: 0.78rem; color: rgb(112, 128, 144); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">//次数</span> <span class="token keyword keyword-function" style="font-size: 0.78rem; color: rgb(0, 119, 170); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">function</span> <span class="token function-definition function" style="font-size: 0.78rem; color: rgb(221, 74, 104); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">keep_slash</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">(</span> <span class="token variable" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">$content</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">)</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">{</span> <span class="token comment" style="font-size: 0.78rem; color: rgb(112, 128, 144); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">/* 全局变量 */</span> <span class="token keyword keyword-global" style="font-size: 0.78rem; color: rgb(0, 119, 170); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">global</span> <span class="token variable" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">$document_content_save_pre</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> <span class="token comment" style="font-size: 0.78rem; color: rgb(112, 128, 144); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">/* * 如果本次保存已经处理过 * */</span> <span class="token keyword keyword-if" style="font-size: 0.78rem; color: rgb(0, 119, 170); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">if</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">(</span> <span class="token variable" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">$document_content_save_pre</span> <span class="token operator" style="font-size: 0.78rem; color: rgb(154, 110, 58); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; background: rgba(255, 255, 255, 0.5);">></span> <span class="token number" style="font-size: 0.78rem; color: rgb(153, 0, 85); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">1</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">)</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">{</span> <span class="token keyword keyword-return" style="font-size: 0.78rem; color: rgb(0, 119, 170); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">return</span> <span class="token variable" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">$content</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">}</span> <span class="token comment" style="font-size: 0.78rem; color: rgb(112, 128, 144); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">/* 标记 */</span> <span class="token variable" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">$document_content_save_pre</span> <span class="token operator" style="font-size: 0.78rem; color: rgb(154, 110, 58); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; background: rgba(255, 255, 255, 0.5);">++</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> <span class="token keyword keyword-return" style="font-size: 0.78rem; color: rgb(0, 119, 170); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">return</span> <span class="token function" style="font-size: 0.78rem; color: rgb(221, 74, 104); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">str_replace</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">(</span> <span class="token string double-quoted-string" style="font-size: 0.78rem; color: rgb(102, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">"\\"</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">,</span> <span class="token string single-quoted-string" style="font-size: 0.78rem; color: rgb(102, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">'\\\\'</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">,</span> <span class="token variable" style="font-size: 0.78rem; color: rgb(238, 153, 0); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">$content</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">)</span><span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">;</span> <span class="token punctuation" style="font-size: 0.78rem; color: rgb(153, 153, 153); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;">}</span><span aria-hidden="true" class="line-numbers-rows" style="font-size: 14.976px; color: rgb(101, 164, 227); box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; position: absolute; pointer-events: none; top: 0px; left: -3.8em; width: 3em; letter-spacing: -1px; border-right: 1px solid rgb(153, 153, 153); user-select: none;"><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span><span style="font-size: 0.78rem; box-sizing: border-box; line-height: 1.75; overflow-wrap: break-word; word-break: break-all; word-spacing: normal; display: block; counter-increment: linenumber 1; -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;"></span></span></code>
再次测试,反斜杠没有丢失,大功告成!