luci-app-mosquitto: fix invalid XML in option description 6484/head
authorSebastian Krzyszkowiak <dos@dosowisko.net>
Wed, 26 Jul 2023 22:35:15 +0000 (00:35 +0200)
committerSebastian Krzyszkowiak <dos@dosowisko.net>
Wed, 26 Jul 2023 22:35:15 +0000 (00:35 +0200)
Trying to add "notifications" option resulted in malformed XML.

Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua

index c4a83b57ff1262e338b7e5b5d61791dfe96dbb95..31d05e32f88f5cd9c0ce67a5ffd38f7217a851c5 100644 (file)
@@ -160,7 +160,7 @@ topics = s:option(DynamicList, "topic", _("topic"),
 
 OptionalFlag(s, "cleansession", _("Clean session"))
 OptionalFlag(s, "notifications", _("notifications"),
-    _("Attempt to notify the local and remote broker of connection status, defaults to $SYS/broker/connections/<clientid>/state"))
+    _("Attempt to notify the local and remote broker of connection status, defaults to $SYS/broker/connections/&lt;clientid&gt;/state"))
 s:option(Value, "notification_topic", _("Topic to use for local+remote remote for notifications.")).optional = true
 OptionalFlag(s, "notifications_local_only", _("Notifications local only"), _("Bridge connection states should only be published locally"))