]> git.ipfire.org Git - thirdparty/patchwork.git/commit
templates/submission: Fix alignment of commit message
authorThomas Monjalon <thomas@monjalon.net>
Fri, 16 Aug 2024 07:20:28 +0000 (09:20 +0200)
committerStephen Finucane <stephen@that.guru>
Thu, 31 Oct 2024 22:07:50 +0000 (22:07 +0000)
commit13bbc0d94ea035c149f8acd042d2998778b9efd9
tree4da9770b7ea63b27532be2603040970592dfad68
parent76434533224b046a3e269b184406f120557bbc81
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 <thomas@monjalon.net>
Fixes: fe34ab2ffad3 ("patch-detail: left align message headers")
Reviewed-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/templates/patchwork/submission.html