# HG changeset patch # User Nicholas Jillings # Date 1519748024 0 # Node ID bc33aca9f8f1955da5dd00320d3921b928d7d39c # Parent b3ebd07e7a0fb1d95049efcf0dfc40db7873450c Apply showdown to exit texts diff -r b3ebd07e7a0f -r bc33aca9f8f1 js/core.js --- a/js/core.js Sun Feb 04 11:16:20 2018 +0000 +++ b/js/core.js Tue Feb 27 16:13:44 2018 +0000 @@ -415,10 +415,11 @@ } } storage.SessionKey.finish().then(function (resolved) { + var converter = new showdown.Converter(); if (typeof specification.returnURL == "string" && specification.returnURL.length > 0) { window.location = specification.returnURL; } else { - popup.popupContent.textContent = specification.exitText; + popup.popupContent.innerHTML = converter.makeHtml(specification.exitText); } }, function (message) { console.log("Save: Error! " + message.textContent);