commit 4711c5e4306a1019bedaee3cf1265396fe242821
parent b77ef665b0f3876f2c27db2d5a9b154fa1a9ba0d
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 19 Aug 2020 18:06:13 +0530
disable HTML escaping for URLs in mustache templates
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/offer_refund.en.must b/contrib/offer_refund.en.must
@@ -90,7 +90,7 @@ body {
<body>
<script>
- let checkUrl = "{{order_status_url}}";
+ let checkUrl = "{{& order_status_url }}";
let delayMs = 500;
function check() {
let req = new XMLHttpRequest();
diff --git a/contrib/offer_tip.en.must b/contrib/offer_tip.en.must
@@ -90,7 +90,7 @@ body {
<body>
<script>
- let checkUrl = "{{tip_status_url}}";
+ let checkUrl = "{{& tip_status_url }}";
let delayMs = 500;
function check() {
let req = new XMLHttpRequest();
diff --git a/contrib/request_payment.en.must b/contrib/request_payment.en.must
@@ -91,7 +91,7 @@ body {
<body>
<script>
let delayMs = 60000;
- let checkUrl = "{{order_status_url}}&timeout_ms=" + delayMs.toString();
+ let checkUrl = "{{& order_status_url }}&timeout_ms=" + delayMs.toString();
function check() {
let req = new XMLHttpRequest();
req.onreadystatechange = function () {
diff --git a/contrib/show_order_details.en.must b/contrib/show_order_details.en.must
@@ -55,7 +55,7 @@ The merchant has granted you refunds on the purchase of <b>{{refund_amount}}</b>
<h2>Full contract details</h2>
-!-- FIXME #6459: expand the contract JSON in all its glory here -->
+<!-- FIXME #6459: expand the contract JSON in all its glory here -->
<pre>
{{{contract}}}
</pre>