Skip to content

Commit dfbdf61

Browse files
Merge pull request #491 from nextcloud/bugfix/noid/fix-activity-in-files-sidebar
Fix activity tab in the files sidebar
2 parents 7907cd1 + 720cd6b commit dfbdf61

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

js/activitytabview.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
*
99
*/
1010

11+
function escapeHTML(text) {
12+
return text.toString()
13+
.split('&').join('&')
14+
.split('<').join('&lt;')
15+
.split('>').join('&gt;')
16+
.split('"').join('&quot;')
17+
.split('\'').join('&#039;')
18+
}
19+
1120
(function() {
1221

1322
/**

0 commit comments

Comments
 (0)