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:
parent
e5442bbc8b
commit
01ecb1ac8a
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue