Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit e898855

Browse files
committed
Use double-quotes instead of simple for links. Maybe see #1138
1 parent 67e56ae commit e898855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/plugins/action.share/res/react/model/ShareModel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@
870870
s = MessageHash["share_center.42"];
871871
if(s) s = s.replace("%s", ApplicationTitle);
872872
link = this.getPublicLink(linkId);
873-
message = s + "\n\n " + "<a href='"+link+"'>"+link+"</a>";
873+
message = s + "\n\n " + "<a href=\""+link+"\">"+link+"</a>";
874874
}else{
875875
if(!this._data['repository_url']){
876876
throw new Error(MessageHash['share_center.229']);
@@ -880,7 +880,7 @@
880880
if(this._data['repository_url']){
881881
link = this._data['repository_url'];
882882
}
883-
message = s + "\n\n " + "<a href='" + link +"'>" + MessageHash["share_center.46"].replace("%s1", this.getGlobal("label")).replace("%s2", ajaxplorer.appTitle) + "</a>";
883+
message = s + "\n\n " + "<a href=\"" + link +"\">" + MessageHash["share_center.46"].replace("%s1", this.getGlobal("label")).replace("%s2", ajaxplorer.appTitle) + "</a>";
884884
}
885885
var usersList = null;
886886
if(this.shareFolderMode == 'workspace' && oForm) {

0 commit comments

Comments
 (0)