From 333f550a87c9cd8f5632a712d7f932cb436c10df Mon Sep 17 00:00:00 2001 From: James Moger Date: Mon, 18 Jul 2011 18:12:44 -0400 Subject: [PATCH] Fix to BuildSite for pages with underscores in name. --- src/com/gitblit/build/BuildSite.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/gitblit/build/BuildSite.java b/src/com/gitblit/build/BuildSite.java index 97615f83..43d7d623 100644 --- a/src/com/gitblit/build/BuildSite.java +++ b/src/com/gitblit/build/BuildSite.java @@ -99,6 +99,8 @@ public class BuildSite { String displayName = documentName; if (aliasMap.containsKey(documentName)) { displayName = aliasMap.get(documentName); + } else { + displayName = displayName.replace('_', ' '); } String fileName = documentName + ".html"; sb.append(MessageFormat.format(linkPattern, fileName, displayName)); -- 2.39.5