From 401382a459743db941738a645822b443ecfdc596 Mon Sep 17 00:00:00 2001 From: yangfl Date: Sat, 18 Aug 2018 12:21:21 +0800 Subject: treewide: Fix typos in comments Signed-off-by: David Yang --- documentation/Templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/Templates.md') 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. -- cgit v1.2.3