summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2022-05-01 17:30:20 +0200
committerGitHub <noreply@github.com>2022-05-01 17:30:20 +0200
commit66e2c01a3e7d69047c3c0757fd7d037f969785a3 (patch)
tree4fc54d7ce955a0f09e59eebf230acc9ccc1a7478
parent44348892700baceba50f8a133136fa569278c1b0 (diff)
parent96afc1a45d1e8df0f00d6c4cde9e9744cc9f1fcd (diff)
downloadinvidious-66e2c01a3e7d69047c3c0757fd7d037f969785a3.tar.gz
invidious-66e2c01a3e7d69047c3c0757fd7d037f969785a3.tar.bz2
invidious-66e2c01a3e7d69047c3c0757fd7d037f969785a3.zip
Merge pull request #3073 from iv-org/SamantazFox-patch-1
Revert html escaping of backtrace
-rw-r--r--src/invidious/helpers/errors.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr
index 2eab6263..b80dcdaf 100644
--- a/src/invidious/helpers/errors.cr
+++ b/src/invidious/helpers/errors.cr
@@ -46,7 +46,7 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, exce
TEXT
- issue_template += github_details("Backtrace", HTML.escape(exception.inspect_with_backtrace))
+ issue_template += github_details("Backtrace", exception.inspect_with_backtrace)
# URLs for the error message below
url_faq = "https://github.com/iv-org/documentation/blob/master/docs/faq.md"