summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Aubry2012-11-08 09:47:28 (EST)
committer Simon Bernard2012-11-09 11:37:17 (EST)
commit75f27d004f6c8c37bb8046c7d849ee30d4274811 (patch)
tree359626af9798b6ede436b87bfc73e347a9831935
parentfff8b30edbecf562f84168beb64d5d155022fe9e (diff)
downloadorg.eclipse.koneki.ldt-75f27d004f6c8c37bb8046c7d849ee30d4274811.zip
org.eclipse.koneki.ldt-75f27d004f6c8c37bb8046c7d849ee30d4274811.tar.gz
org.eclipse.koneki.ldt-75f27d004f6c8c37bb8046c7d849ee30d4274811.tar.bz2
Bug 389887 - [luadocumentor] Markdown paragraph are not properly
generated, add line return to enhance markdown interpretations
-rw-r--r--libraries/doctemplates/template/item.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/doctemplates/template/item.lua b/libraries/doctemplates/template/item.lua
index 5276dfc..db6d84e 100644
--- a/libraries/doctemplates/template/item.lua
+++ b/libraries/doctemplates/template/item.lua
@@ -95,7 +95,7 @@ return
# paramline = paramline .. "</em></code>: "
#
# if param.description and #param.description > 0 then
-# paramline = paramline .. param.description
+# paramline = paramline .. "\n" .. param.description
# end
#
$( format (paramline))
@@ -141,7 +141,7 @@ return
# if #ret.types > 0 and #paramlist > 0 then
# local returnline = "<em>" .. paramlist .. "</em>"
# end
-# returnline = returnline .. (ret.description and ret.description)
+# returnline = returnline .. "\n" .. (ret.description and ret.description)
$( format (returnline))
</li>
# end
@@ -157,7 +157,7 @@ return
# returnline = "<em>"..paramlist.."</em>"
# end
# if isdescription then
-# returnline = returnline .. fdef.returns[1].description
+# returnline = returnline .. "\n" .. fdef.returns[1].description
# end
$( format(returnline))
# end