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>
This commit is contained in:
Jo-Philipp Wich 2021-10-07 16:19:30 +02:00
parent e5442bbc8b
commit 01ecb1ac8a

View file

@ -174,8 +174,11 @@ return network.registerProtocol('wireguard', {
]; ];
var description = [ 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'), E('span', [
_('The QR-Code works per wg interface, it will be refreshed with every button click and transfers the following information:'))), _('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', [ E('ul', [
generateDescription('[Interface]', interfaceTexts), generateDescription('[Interface]', interfaceTexts),
generateDescription('[Peer]', peerTexts) generateDescription('[Peer]', peerTexts)