mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
Implement wiki mode menu function (#2461)
This commit is contained in:
@@ -154,5 +154,12 @@ export const Utils = {
|
||||
path_arr_.push(encodeURIComponent(path_arr[i]));
|
||||
}
|
||||
return path_arr_.join('/');
|
||||
}
|
||||
},
|
||||
|
||||
HTMLescape: function(html) {
|
||||
return document.createElement('div')
|
||||
.appendChild(document.createTextNode(html))
|
||||
.parentNode
|
||||
.innerHTML;
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user