summaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-10-07 16:19:30 +0200
committerJo-Philipp Wich <jo@mein.io>2021-10-07 16:19:30 +0200
commit01ecb1ac8ac8379df0964f0745c896f2baccaade (patch)
treef524d0314c86c8a07686024cd0a04d7b601c8ecd /protocols
parente5442bbc8bbf6d0948bdda1c461c623cd41a33cd (diff)
luci-proto-wireguard: fix markup not valid for XHTML
Fixes: #5407 Fixes: 03d615f62c ("luci-proto-wireguard: add more options to qr code") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols')
-rw-r--r--protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
index 51f9accf46..5795eaebec 100644
--- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
+++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
@@ -174,8 +174,11 @@ return network.registerProtocol('wireguard', {
];
var description = [
- E('span', '%q<br>%q'.format(_('If there are any unsaved changes for this client, please save the configuration before generating a QR-Code'),
- _('The QR-Code works per wg interface, it will be refreshed with every button click and transfers the following information:'))),
+ E('span', [
+ _('If there are any unsaved changes for this client, please save the configuration before generating a QR-Code'),
+ E('br'),
+ _('The QR-Code works per wg interface, it will be refreshed with every button click and transfers the following information:')
+ ]),
E('ul', [
generateDescription('[Interface]', interfaceTexts),
generateDescription('[Peer]', peerTexts)