diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-10-07 16:19:30 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-07 16:19:30 +0200 |
commit | 01ecb1ac8ac8379df0964f0745c896f2baccaade (patch) | |
tree | f524d0314c86c8a07686024cd0a04d7b601c8ecd /protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol | |
parent | e5442bbc8bbf6d0948bdda1c461c623cd41a33cd (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/luci-proto-wireguard/htdocs/luci-static/resources/protocol')
-rw-r--r-- | protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js | 7 |
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) |