From 0ecf0e388055e366e204215fdeaa0e382729786f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:00:41 +0000 Subject: Add carriage return to form output for readability --- lib/htmlviewfunctions.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/htmlviewfunctions.lua') diff --git a/lib/htmlviewfunctions.lua b/lib/htmlviewfunctions.lua index 5a348bc..0b87512 100644 --- a/lib/htmlviewfunctions.lua +++ b/lib/htmlviewfunctions.lua @@ -63,7 +63,7 @@ function mymodule.displayitem(myitem, header_level, page_info) io.write(string.gsub(html.html_escape(tostring(myitem.value)), "\n", "
") .. "\n") if myitem.descr then io.write("

" .. string.gsub(html.html_escape(myitem.descr), "\n", "
") .. "

") end if myitem.errtxt then io.write("

" .. string.gsub(html.html_escape(myitem.errtxt), "\n", "
") .. "

") end - io.write("") + io.write("\n") end end @@ -152,7 +152,7 @@ function mymodule.displayformitem(myitem, name, viewtype, header_level, group) if myitem.descr then io.write("

" .. string.gsub(html.html_escape(myitem.descr), "\n", "
") .. "

") end if myitem.default then io.write('

Default:' .. string.gsub(html.html_escape(getlabel(myitem, myitem.default)), "\n", "
") .. "

\n") end if myitem.errtxt then io.write("

" .. string.gsub(html.html_escape(myitem.errtxt), "\n", "
") .. "

") end - io.write("") + io.write("\n") end end @@ -233,7 +233,7 @@ function mymodule.displayformend(myform) else io.write('\n') end - io.write("") + io.write("\n") io.write('') end -- cgit v1.2.3