fix the generation of the toc entries without content

Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/409854d8
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/409854d8
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/409854d8

Branch: refs/heads/master
Commit: 409854d8fd1839038458f10cfc2e56a69b498c16
Parents: 7428f5f
Author: Nicolas Lalevée <nicolas.lale...@hibnet.org>
Authored: Sun Jun 25 01:05:47 2017 +0200
Committer: Nicolas Lalevée <nicolas.lale...@hibnet.org>
Committed: Sun Jun 25 01:05:47 2017 +0200

----------------------------------------------------------------------
 asciidoc/templates/helpers.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/409854d8/asciidoc/templates/helpers.rb
----------------------------------------------------------------------
diff --git a/asciidoc/templates/helpers.rb b/asciidoc/templates/helpers.rb
index e62557d..ed20d7a 100644
--- a/asciidoc/templates/helpers.rb
+++ b/asciidoc/templates/helpers.rb
@@ -13,7 +13,7 @@ module IvyDocHelpers
         def initialize()
             @id = ""
             @title = ""
-            @url = ""
+            @url = nil
             @allChildIds = []
             @children = []
             @parent = nil

Reply via email to