The Wayback Machine - https://web.archive.org/web/20201125035212/https://github.com/icindy/wxParse/pull/339
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决部分wxParse空格解析不生效的问题 #339

Open
wants to merge 1 commit into
base: master
from

Conversation

@dong-sir
Copy link

@dong-sir dong-sir commented Apr 8, 2019

在wxDiscode.js 的 strcharacterDiscode() 函数下增加了一个新的替换,用来匹配部分情况下空格没有被正确替换的问题

@@ -106,6 +106,7 @@ function strcharacterDiscode(str){
str = str.replace(/ /g, ' ');
str = str.replace(/"/g, "'");
str = str.replace(/&/g, '&');
str = str.replace(/ /g, ' ');

This comment has been minimized.

@xiangyuecn

xiangyuecn Feb 21, 2020

  的意思是需要显示成  ,这个是对&的转义,不是空格😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.