James Moger
2011-09-25 dd9ae71bc1cb13b90dcc8d9689550eb7dfe7d035
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) {