From: Jo-Philipp Wich Date: Thu, 7 Oct 2021 14:19:30 +0000 (+0200) Subject: luci-proto-wireguard: fix markup not valid for XHTML X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01ecb1ac8ac8379df0964f0745c896f2baccaade;p=project%2Fluci.git 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 --- 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
%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)