mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-19 13:14:22 +01:00
Passes management of the description to the js template
This commit is contained in:
@@ -39,7 +39,7 @@ function updateChalWindow(obj) {
|
||||
name: obj.name,
|
||||
value: obj.value,
|
||||
tags: obj.tags,
|
||||
desc: marked(obj.description, {'gfm':true, 'breaks':true}),
|
||||
desc: obj.description,
|
||||
solves: solves,
|
||||
files: obj.files,
|
||||
hints: obj.hints
|
||||
|
||||
@@ -22,4 +22,6 @@ $(".input-field").bind({
|
||||
$label.removeClass('input--hide' );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('.chal-desc').html(marked($('.chal-desc').html(), {'gfm':true, 'breaks':true}));
|
||||
|
||||
Reference in New Issue
Block a user