mirror of
https://github.com/typecho/typecho.git
synced 2025-03-25 12:29:43 +01:00
修正语法
This commit is contained in:
parent
5169a2a460
commit
98891aae44
@ -4860,7 +4860,7 @@ else
|
||||
if (isImage) {
|
||||
var imagename = that.getString("imagename");
|
||||
if (!!imagename) {
|
||||
imagename = imagename.replace('_', '\\_');
|
||||
imagename = imagename.replace(/_/g, '\\_');
|
||||
}
|
||||
|
||||
chunk.selection = imagename || that.getString("imagedescription");
|
||||
@ -4868,7 +4868,7 @@ else
|
||||
else {
|
||||
var linkname = that.getString("linkname");
|
||||
if (!!linkname) {
|
||||
linkname = linkname.replace('_', '\\_');
|
||||
linkname = linkname.replace(/_/g, '\\_');
|
||||
}
|
||||
|
||||
chunk.selection = linkname || that.getString("linkdescription");
|
||||
|
Loading…
x
Reference in New Issue
Block a user