Skip to content

Commit 13bbc0d

Browse files
tmonjalostephenfin
authored andcommitted
templates/submission: Fix alignment of commit message
Preformatted content must not be indented because any space is kept in the output, making the content wrongly indented. When aligning message headers to the left, the new HTML code has been indented including some preformatted content indented with two spaces. The fix is to remove the indent of the content. Signed-off-by: Thomas Monjalon <[email protected]> Fixes: fe34ab2 ("patch-detail: left align message headers") Reviewed-by: Robin Jarry <[email protected]> Reviewed-by: Stephen Finucane <[email protected]>
1 parent 7643453 commit 13bbc0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patchwork/templates/patchwork/submission.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ <h2>Message</h2>
262262
<span class="message-date">{{ submission.date }} UTC</span>
263263
</div>
264264
<pre class="content">
265-
{{ submission|commentsyntax }}
265+
{{ submission|commentsyntax }}
266266
</pre>
267267
</div>
268268

0 commit comments

Comments
 (0)