lib/logster/middleware/viewer.rb in logster-1.2.3 vs lib/logster/middleware/viewer.rb in logster-1.2.4
- old
+ new
@@ -224,10 +224,10 @@
#{template("index")}
#{template("show")}
<script>
window.Logger = {
rootPath: "#{@logs_path}",
- preload: #{JSON.fast_generate(preload)}
+ preload: #{JSON.fast_generate(preload).gsub("</", "<\\/")}
};
</script>
</head>
<body>
#{script("app.js")}