James Moger
2011-06-09 f339f5de2ee6d354f55e14e9340bebc4611535b3
src/com/gitblit/wicket/pages/RepositoryPage.java
@@ -227,8 +227,17 @@
   }
   protected void addFullText(String wicketId, String text, boolean substituteRegex) {
      String html = StringUtils.breakLinesForHtml(text);
      String html;
      if (substituteRegex) {
         html = substituteText(text);
      } else {
         html = StringUtils.breakLinesForHtml(text);
      }
      add(new Label(wicketId, html).setEscapeModelStrings(false));
   }
   protected String substituteText(String text) {
      String html = StringUtils.breakLinesForHtml(text);
         Map<String, String> map = new HashMap<String, String>();
         // global regex keys
         if (GitBlit.getBoolean(Keys.regex.global, false)) {
@@ -259,8 +268,7 @@
                     + definition);
            }
         }
      }
      add(new Label(wicketId, html).setEscapeModelStrings(false));
      return html;
   }
   protected abstract String getPageName();