From 74d71ddd60caf58de6d2c0b8214b060a55f14a49 Mon Sep 17 00:00:00 2001 From: Menci Date: Mon, 17 Dec 2018 22:58:06 +0800 Subject: [PATCH] Fix HTML minify caused editor newline missing --- views/admin_raw.ejs | 3 ++- views/problem.ejs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/views/admin_raw.ejs b/views/admin_raw.ejs index b21e081..6e41a60 100644 --- a/views/admin_raw.ejs +++ b/views/admin_raw.ejs @@ -2,7 +2,8 @@ <% include admin_header %>
-
<%= data %>
+
+ diff --git a/views/problem.ejs b/views/problem.ejs index 6936197..86e5723 100644 --- a/views/problem.ejs +++ b/views/problem.ejs @@ -324,7 +324,8 @@ div[class*=ace_br] {
-
<% if (state) { %><%= state.code %><% } %>
+
+ <% if (state) { %><% } %>