WizTeam / WizNoteLite

WizNote Lite Project
Other
640 stars 77 forks source link

代码块的文本复制后一些特殊字符被转义了 #142

Closed AbnerXia closed 3 years ago

AbnerXia commented 3 years ago

代码块的中的文本复制出来后,在其他编辑器(比如vscode,sublime,windows的记事本等)上面粘贴后,一些特殊字符被转移了,我发现的有:“ ' < > 在windows系统和deepin15.11上面都有这个问题。

下面我给一个例子:

在代码块中的是: git config --global alias.lg "log --all --graph --decorate --date=format:'%Y-%m-%dT%H:%M' --pretty=format:'%C(auto)%h %C(bold blue)<%an>%Creset -%C(auto)%d%Creset %s %Cgreen<%cd>'"

复制到其他编辑器之后,就变成了下面这样: git config --global alias.lg "log --all --graph --decorate --date=format:'%Y-%m-%dT%H:%M' --pretty=format:'%C(auto)%h %C(bold blue)<%an>%Creset -%C(auto)%d%Creset %s %Cgreen<%cd>'"

AbnerXia commented 3 years ago

我的wiznotelite 版本是2.0.0

AbnerXia commented 3 years ago

更新到2.1.1版本后该bug已解决。