applications/luci-upnp: fix missing XML escapres (#521)
[project/luci.git] / applications / luci-upnp / luasrc / model / cbi / upnp / upnp.lua
index c00d943..3d98d66 100644 (file)
@@ -13,7 +13,7 @@ You may obtain a copy of the License at
 $Id$
 ]]--
 
-m = Map("upnpd", translate("Universal Plug & Play"),
+m = Map("upnpd", luci.util.pcdata(translate("Universal Plug & Play")),
        translate("UPnP allows clients in the local network to automatically configure the router."))
 
 m:section(SimpleSection).template  = "upnp_status"
@@ -47,9 +47,9 @@ s:taboption("general", Flag, "secure_mode", translate("Enable secure mode"),
        translate("Allow adding forwards only to requesting ip addresses")).default = "1"
 
 s:taboption("general", Flag, "log_output", translate("Enable additional logging"),
-       translate("Puts extra debugging information into the system log")).default = "1"
+       translate("Puts extra debugging information into the system log"))
 
-s:taboption("general", Value, "download", translate("Downlink"), 
+s:taboption("general", Value, "download", translate("Downlink"),
        translate("Value in KByte/s, informational only")).rmempty = true
 
 s:taboption("general", Value, "upload", translate("Uplink"),