From 73d0cd03cd6f88f8bd60d77a9361b8945be3be96 Mon Sep 17 00:00:00 2001 From: Ben Standefer Date: Thu, 18 May 2017 15:57:33 -0700 Subject: [PATCH] Fix multi-line JavaScript error by using ES6 template literals Temporary fix, see https://github.com/rails/web-console/issues/240 for more details. --- lib/web_console/templates/layouts/inlined_string.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web_console/templates/layouts/inlined_string.erb b/lib/web_console/templates/layouts/inlined_string.erb index 1cad808c..247f7198 100644 --- a/lib/web_console/templates/layouts/inlined_string.erb +++ b/lib/web_console/templates/layouts/inlined_string.erb @@ -1 +1 @@ -"<%= j yield %>" +`<%= j yield %>`