James Moger
2011-10-07 f2806358a5794ccc461de5e3c3019948462c7cc8
src/com/gitblit/build/BuildSite.java
@@ -55,6 +55,8 @@
 */
public class BuildSite {
   private static final String SPACE_DELIMITED = "SPACE-DELIMITED";
   private static final String CASE_SENSITIVE = "CASE-SENSITIVE";
   private static final String RESTART_REQUIRED = "RESTART REQUIRED";
@@ -89,7 +91,7 @@
      System.out.println(MessageFormat.format("Generating site from {0} Markdown Docs in {1} ",
            markdownFiles.length, sourceFolder.getAbsolutePath()));
      String linkPattern = "<a href=''{0}''>{1}</a>";
      String linkPattern = "<li><a href=''{0}''>{1}</a></li>";
      StringBuilder sb = new StringBuilder();
      for (File file : markdownFiles) {
         String documentName = getDocumentName(file);
@@ -265,7 +267,7 @@
      for (Setting setting : settings) {
         for (String comment : setting.comments) {
            if (comment.contains(SINCE) || comment.contains(RESTART_REQUIRED)
                  || comment.contains(CASE_SENSITIVE)) {
                  || comment.contains(CASE_SENSITIVE) || comment.contains(SPACE_DELIMITED)) {
               sb.append(MessageFormat.format(
                     "<span style=\"color:#004000;\"># <i>{0}</i></span>",
                     transformMarkdown(comment)));