]> 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:12:10 +0000 (22:12 +0000)
commitb35f6e3a792d096fc35c8c4168110426581685aa
tree2104fb48745518e5c5fa38eaa55ddae2102db536
parent0da30213d42e8ec5067eb598cd0ebffc0cae74a1
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>
(cherry picked from commit 13bbc0d94ea035c149f8acd042d2998778b9efd9)
patchwork/templates/patchwork/submission.html