mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 15:50:11 -04:00
Merge branch 'vickychijwani-master'
This commit is contained in:
commit
9b7bbef7e1
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module.exports = class ProblemAlertView extends View
|
|||
|
||||
getRenderData: (context={}) ->
|
||||
context = super context
|
||||
format = (s) -> s?.replace('<', '<').replace('>', '>').replace("\n", "<br>")
|
||||
format = (s) -> s?.replace(/</g, '<').replace(/>/g, '>').replace(/\n/g, '<br>')
|
||||
message = @problem.aetherProblem.message
|
||||
age = @problem.aetherProblem.userInfo.age
|
||||
if age?
|
||||
|
|
Loading…
Add table
Reference in a new issue