From 1b83aa2da97212cb839086ef5c91a6f9e68a3a36 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 6 Jun 2016 18:04:33 +0530 Subject: Escape quotes in codemirror --- yaksh/templates/yaksh/question.html | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 110c422..b8be99f 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load custom_filters %} @@ -66,15 +67,6 @@ updateClock(); var timeinterval = setInterval(updateClock,1000); } -// function setSnippetHeight() -// { -// var ta = document.getElementById('snippet'); -// var height = ta.scrollHeight+'px'; -// ta.style.height = 'auto'; -// ta.style.height = height; -// autoresize(); -// } - function validate(){ uploaded_file = document.getElementById("assignment").value; if(uploaded_file == ""){ @@ -186,15 +178,9 @@ function call_skip(url) {% if question.type == "code" %}