Skip to content

Commit 9185734

Browse files
authored
Indent last update body (quarkusio#2107)
1 parent 31c7178 commit 9185734

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

working-groups/main.java

+5
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ public String getIndentedReadme() {
203203
return readme.replaceAll("\n", "\n ").trim();
204204
}
205205

206+
public String getIndentedLastUpdate() {
207+
String lastUpdateBody = getLastUpdate().body();
208+
return lastUpdateBody.replaceAll("\n", "\n ").trim();
209+
}
210+
206211
public Status getStatus() {
207212
if (statusUpdates.isEmpty()) {
208213
return Status.INACTIVE;

working-groups/templates/wg.yaml.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ working-groups:
1010
last-activity: {board.getLastActivityDate()}
1111
{#if board.getLastUpdate() && board.getLastUpdate().body.trim()}
1212
last-update: |
13-
{board.getLastUpdate().body.trim()}
13+
{board.getIndentedLastUpdate().raw}
1414
{/if}
1515
{/for}

0 commit comments

Comments
 (0)