diff --git a/createModulePages.groovy b/createModulePages.groovy index 3546f98fdb1..3d374378ab1 100644 --- a/createModulePages.groovy +++ b/createModulePages.groovy @@ -83,8 +83,14 @@ files.each { file -> p(){ if (libdepends.exists()) { b("Libraries") - libdepends.text.eachLine{ - span(it) + ul() { + libdepends.text.eachLine{ libdep -> + if (libdep.length() > 0) { + p() { + span(libdep) + } + } + } } } }