diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-19 18:06:13 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-19 18:06:13 +0530 |
commit | 4711c5e4306a1019bedaee3cf1265396fe242821 (patch) | |
tree | 1937c51166d1ee224f6616aad02f852e9db93b24 /contrib | |
parent | b77ef665b0f3876f2c27db2d5a9b154fa1a9ba0d (diff) | |
download | merchant-4711c5e4306a1019bedaee3cf1265396fe242821.tar.gz merchant-4711c5e4306a1019bedaee3cf1265396fe242821.tar.bz2 merchant-4711c5e4306a1019bedaee3cf1265396fe242821.zip |
disable HTML escaping for URLs in mustache templates
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/offer_refund.en.must | 2 | ||||
-rw-r--r-- | contrib/offer_tip.en.must | 2 | ||||
-rw-r--r-- | contrib/request_payment.en.must | 2 | ||||
-rw-r--r-- | contrib/show_order_details.en.must | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/offer_refund.en.must b/contrib/offer_refund.en.must index b166fea3..62766ad7 100644 --- 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 index 21fb9b38..abc71690 100644 --- 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 index e533c81b..d7819059 100644 --- 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 index 128a7918..71e6a564 100644 --- 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> |