mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-10 21:28:02 -04:00
Fix unescaped HTML in goal descriptions
This commit is contained in:
parent
51706a52be
commit
d388975217
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ module.exports = class LevelLoadingView extends CocoView
|
|||
for goalID, goal of @level.get('goals') when (not goal.team or goal.team is (e.team or 'humans')) and not goal.hiddenGoal
|
||||
continue if goal.optional and @level.isType('course')
|
||||
name = utils.i18n goal, 'name'
|
||||
goalList.append $('<li>' + name + '</li>')
|
||||
goalList.append $('<li>').text(name)
|
||||
++goalCount
|
||||
if goalCount
|
||||
goalContainer.removeClass('secret')
|
||||
|
|
Loading…
Reference in a new issue