luci-app-adblock: fix XHTML/HTML5 markup 1088/head
authorDirk Brenken <dev@brenken.org>
Tue, 28 Mar 2017 18:05:03 +0000 (20:05 +0200)
committerDirk Brenken <dev@brenken.org>
Tue, 28 Mar 2017 18:05:03 +0000 (20:05 +0200)
* fix XHTML parsing errors in openwrt theme
* tested with openwrt, bootstrap & material theme

Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-adblock/luasrc/model/cbi/adblock/blacklist_tab.lua
applications/luci-app-adblock/luasrc/model/cbi/adblock/whitelist_tab.lua
applications/luci-app-adblock/luasrc/view/adblock/runtime.htm

index fc6b812..efe40e0 100644 (file)
@@ -17,7 +17,7 @@ m = SimpleForm("input", nil)
 
 s = m:section(SimpleSection, nil,
        translatef("This form allows you to modify the content of the adblock blacklist (%s).<br />", adbinput)
-       .. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards & regex are not."))
+       .. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards and regex are not."))
 
 f = s:option(TextValue, "data")
        f.rmempty = true
index 955969e..6c4dee4 100644 (file)
@@ -17,7 +17,7 @@ m = SimpleForm("input", nil)
 
 s = m:section(SimpleSection, nil,
        translatef("This form allows you to modify the content of the adblock whitelist (%s).<br />", adbinput)
-       .. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards & regex are not."))
+       .. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards and regex are not."))
 
 f = s:option(TextValue, "data")
        f.rmempty = true
index bb55d23..4a90d41 100644 (file)
@@ -6,6 +6,6 @@ This is free software, licensed under the Apache License, Version 2.0
 
 <%+cbi/valueheader%>
 
-<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="border: none; box-shadow: none; background-color: #ffffff; color: #0069d6;" value="<%=self:cfgvalue(section)%>" disabled />
+<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="border: none; box-shadow: none; background-color: #ffffff; color: #0069d6;" value="<%=self:cfgvalue(section)%>" disabled="disabled" />
 
 <%+cbi/valuefooter%>