Skip to content

Conversation

@Urgau
Copy link
Member

@Urgau Urgau commented Nov 2, 2025

This PR fixes #2223, which is triggered by having trailing new-lines between each line of the table, ie between each <tr>.

This is fixed by making our regex capture the new-lines instead of matching on them, this is done by replacing $ by (\r?\n)?.

The second commit fixes the trailing new-lines before and after our <table> to take effect by moving the white-space: pre to the <table> instead of the whole <html> body.

Best reviewed commit by commit.

@Urgau Urgau requested a review from Kobzol November 2, 2025 21:22
@Urgau Urgau added this pull request to the merge queue Nov 2, 2025
Merged via the queue into rust-lang:master with commit 4b0a0c5 Nov 2, 2025
3 checks passed
@Urgau Urgau deleted the gha-logs-new-lines-2223 branch November 2, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enhanced-logs copy-paste with extra newlines

2 participants