summaryrefslogtreecommitdiffstats
path: root/lib/viewfunctions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/viewfunctions.lua')
-rw-r--r--lib/viewfunctions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua
index 819135e..d6b5061 100644
--- a/lib/viewfunctions.lua
+++ b/lib/viewfunctions.lua
@@ -89,7 +89,7 @@ function displayitem(myitem)
end
io.write(">" .. myitem.label .. "</DT>\n")
io.write("<DD>")
- io.write(myitem.value .. "\n")
+ io.write(string.gsub(myitem.value, "\n", "<BR>") .. "\n")
if myitem.descr then io.write("<P CLASS='descr'>" .. string.gsub(myitem.descr, "\n", "<BR>") .. "</P>\n") end
if myitem.errtxt then io.write("<P CLASS='error'>" .. string.gsub(myitem.errtxt, "\n", "<BR>") .. "</P>\n") end
io.write("</DD>\n")