diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-10-10 20:25:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-10 20:25:11 +0300 |
commit | 67fd6b6e5ea6b843a4427bed62a31e96f3ff0a1f (patch) | |
tree | 09689cc4f3b1194012f0e0830a49692cdd6fd1d8 /documentation | |
parent | a9948891a8d0262e88e43472c13fdb0d3ba9c72b (diff) | |
parent | 401382a459743db941738a645822b443ecfdc596 (diff) |
Merge pull request #2197 from yangfl/master
treewide: Fix typos in comments
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/CBI.md | 4 | ||||
-rw-r--r-- | documentation/Templates.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/CBI.md b/documentation/CBI.md index e937fe6048..d4bc4c34e5 100644 --- a/documentation/CBI.md +++ b/documentation/CBI.md @@ -131,7 +131,7 @@ If you call this function several times the dependencies will be linked with **" Adds an entry to the selection list #### property .widget = "select" -**"select"** shows a selction list, **"radio"** shows a list of radio buttons inside form +**"select"** shows a selection list, **"radio"** shows a list of radio buttons inside form #### property .default = nil The default value @@ -194,7 +194,7 @@ If you call this function several times the dependencies will be linked with **" Adds an entry to the list #### property .widget = "checkbox" -**"select"** shows a selction list, **"checkbox"** shows a list of checkboxes inside form +**"select"** shows a selection list, **"checkbox"** shows a list of checkboxes inside form #### property .delimiter = " " The string which will be used to delimit the values inside stored option diff --git a/documentation/Templates.md b/documentation/Templates.md index dc42c28ab7..adf019c01a 100644 --- a/documentation/Templates.md +++ b/documentation/Templates.md @@ -1,7 +1,7 @@ LuCI has a simple regex based template processor which parses HTML-files to Lua functions and allows to store precompiled template files. The simplest form of a template is just an ordinary HTML-file. It will be printed out to the user as is. -In LuCI every template is an object with an own scope. It can therefore be instanciated and each instance can has a different scope. As every template processor. LuCI supports several special markups. Those are enclosed in `<% %>`-Tags. +In LuCI every template is an object with an own scope. It can therefore be instantiated and each instance can has a different scope. As every template processor. LuCI supports several special markups. Those are enclosed in `<% %>`-Tags. By adding `-` (dash) right after the opening `<%` every whitespace before the markup will be stripped. Adding a `-` right before the closing `%>` will equivalently strip every whitespace behind the markup. |