summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/cbi/luasrc/view/cbi/map.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/cbi/luasrc/view/cbi/map.htm b/libs/cbi/luasrc/view/cbi/map.htm
index e61f8543ab..1238b6adb0 100644
--- a/libs/cbi/luasrc/view/cbi/map.htm
+++ b/libs/cbi/luasrc/view/cbi/map.htm
@@ -18,12 +18,12 @@ $Id$
<div class="cbi-map-descr"><%=self.description%></div>
<%- if self._apply then -%><code><%:cbi_applying%>:
- <%
+<%
local fp = self._apply()
self._apply = nil
local line = fp:read()
while line do
- write(line)
+ write(line.."\n")
line = fp:read()
end
fp:close()