diff options
Diffstat (limited to 'ui-commit.c')
-rw-r--r-- | ui-commit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-commit.c b/ui-commit.c index 536a8e8..a69dec6 100644 --- a/ui-commit.c +++ b/ui-commit.c | |||
@@ -106,7 +106,7 @@ void cgit_print_commit(char *hex, const char *prefix) | |||
106 | html("</table>\n"); | 106 | html("</table>\n"); |
107 | html("<div class='commit-subject'>"); | 107 | html("<div class='commit-subject'>"); |
108 | if (ctx.repo->commit_filter) | 108 | if (ctx.repo->commit_filter) |
109 | cgit_open_filter(ctx.repo->commit_filter); | 109 | cgit_open_filter(ctx.repo->commit_filter, ctx.repo); |
110 | html_txt(info->subject); | 110 | html_txt(info->subject); |
111 | if (ctx.repo->commit_filter) | 111 | if (ctx.repo->commit_filter) |
112 | cgit_close_filter(ctx.repo->commit_filter); | 112 | cgit_close_filter(ctx.repo->commit_filter); |
@@ -114,7 +114,7 @@ void cgit_print_commit(char *hex, const char *prefix) | |||
114 | html("</div>"); | 114 | html("</div>"); |
115 | html("<div class='commit-msg'>"); | 115 | html("<div class='commit-msg'>"); |
116 | if (ctx.repo->commit_filter) | 116 | if (ctx.repo->commit_filter) |
117 | cgit_open_filter(ctx.repo->commit_filter); | 117 | cgit_open_filter(ctx.repo->commit_filter, ctx.repo); |
118 | html_txt(info->msg); | 118 | html_txt(info->msg); |
119 | if (ctx.repo->commit_filter) | 119 | if (ctx.repo->commit_filter) |
120 | cgit_close_filter(ctx.repo->commit_filter); | 120 | cgit_close_filter(ctx.repo->commit_filter); |
@@ -123,7 +123,7 @@ void cgit_print_commit(char *hex, const char *prefix) | |||
123 | html("<div class='notes-header'>Notes</div>"); | 123 | html("<div class='notes-header'>Notes</div>"); |
124 | html("<div class='notes'>"); | 124 | html("<div class='notes'>"); |
125 | if (ctx.repo->commit_filter) | 125 | if (ctx.repo->commit_filter) |
126 | cgit_open_filter(ctx.repo->commit_filter); | 126 | cgit_open_filter(ctx.repo->commit_filter, ctx.repo); |
127 | html_txt(notes.buf); | 127 | html_txt(notes.buf); |
128 | if (ctx.repo->commit_filter) | 128 | if (ctx.repo->commit_filter) |
129 | cgit_close_filter(ctx.repo->commit_filter); | 129 | cgit_close_filter(ctx.repo->commit_filter); |