Fix issues where bad user code hits the tail
This commit is contained in:
@@ -35,7 +35,7 @@ $(document).ready(function() {
|
||||
.flatMap(code => {
|
||||
return common.detectUnsafeCode$(code)
|
||||
.map(() => {
|
||||
const combinedCode = common.head + code + common.tail;
|
||||
const combinedCode = common.head + '\n;;' + code + '\n;;' + common.tail;
|
||||
|
||||
return addLoopProtect(combinedCode);
|
||||
})
|
||||
|
Reference in New Issue
Block a user