diff --git a/lib/client/dom.js b/lib/client/dom.js index 3b69f4cf..530d79b4 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1208,12 +1208,15 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; * @param currentFile */ this.getCurrentName = function(currentFile) { - var name = '', + var inner, + name = '', current = currentFile || this.getCurrentFile(), link = this.getCurrentLink(current); - if (link) - name = link.title || link.textContent; + if (link) { + inner = link.innerHTML; + name = CloudFunc.decodeEntities(inner); + } return name; };