Philip L. McMahon
2012-01-27 30f9d25d77ccb5cd978d4cf8fa389ec819e90e95
src/com/gitblit/utils/MarkdownUtils.java
@@ -40,7 +40,10 @@
    */
   public static String transformMarkdown(String markdown) throws java.text.ParseException {
      try {
         return transformMarkdown(new StringReader(markdown));
         StringReader reader = new StringReader(markdown);
         String html = transformMarkdown(reader);
         reader.close();
         return html;
      } catch (NullPointerException p) {
         throw new java.text.ParseException("Markdown string is null!", 0);
      }
@@ -64,11 +67,6 @@
      } catch (ParseException p) {
         throw new java.text.ParseException(p.getMessage(), 0);
      } finally {
         try {
            markdownReader.close();
         } catch (IOException e) {
            // IGNORE
         }
         try {
            writer.close();
         } catch (IOException e) {