diff options
author | Bret K. Ikehara <bret.k.ikehara@gmail.com> | 2013-08-04 13:43:25 -1000 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-09-18 11:29:45 -0400 |
commit | cd9461c0c05958444d1313b794be57df39d98956 (patch) | |
tree | af4226aeb4ea724d5380e0432935fa826cc3eadc /src/main/java/com/gitblit/wicket/pages/CommitPage.java | |
parent | a04808340abb7056fefb45645d9f5653813338fc (diff) | |
download | gitblit-cd9461c0c05958444d1313b794be57df39d98956.tar.gz gitblit-cd9461c0c05958444d1313b794be57df39d98956.zip |
Add support for rendering Markdown commit messages (issue-203)
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/CommitPage.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/CommitPage.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/CommitPage.java b/src/main/java/com/gitblit/wicket/pages/CommitPage.java index 1d11d443..1a1d5987 100644 --- a/src/main/java/com/gitblit/wicket/pages/CommitPage.java +++ b/src/main/java/com/gitblit/wicket/pages/CommitPage.java @@ -117,7 +117,7 @@ public class CommitPage extends RepositoryPage { };
add(parentsView);
- addFullText("fullMessage", c.getFullMessage(), true);
+ addFullText("fullMessage", c.getFullMessage());
// git notes
List<GitNote> notes = JGitUtils.getNotesOnCommit(r, c);
@@ -133,8 +133,8 @@ public class CommitPage extends RepositoryPage { item.add(new GravatarImage("noteAuthorAvatar", entry.notesRef.getAuthorIdent()));
item.add(WicketUtils.createTimestampLabel("authorDate", entry.notesRef
.getAuthorIdent().getWhen(), getTimeZone(), getTimeUtils()));
- item.add(new Label("noteContent", GitBlit.self().processCommitMessage(
- repositoryName, entry.content)).setEscapeModelStrings(false));
+ item.add(new Label("noteContent", GitBlit.self().processPlainCommitMessage(repositoryName,
+ entry.content)).setEscapeModelStrings(false));
}
};
add(notesView.setVisible(notes.size() > 0));
|