Skip to content

Commit

Permalink
Fix activity tab in the files sidebar
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Sep 10, 2020
1 parent 8f314f9 commit 720cd6b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions js/activitytabview.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
*
*/

function escapeHTML(text) {
return text.toString()
.split('&').join('&amp;')
.split('<').join('&lt;')
.split('>').join('&gt;')
.split('"').join('&quot;')
.split('\'').join('&#039;')
}

(function() {

/**
Expand Down

0 comments on commit 720cd6b

Please sign in to comment.