[llvm] github-automation: Use a single comment for team mentions on pull requests (PR #66037)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 10:18:51 PDT 2023


================
@@ -131,10 +139,23 @@ def run(self) -> bool:
             patch_link = f"\nPatch is {human_readable_size(len(patch))}, truncated to {human_readable_size(DIFF_LIMIT)} below, full version: {self.pr.diff_url}\n"
             diff_stats = diff_stats[0:DIFF_LIMIT] + "...\n<truncated>\n"
----------------
cor3ntin wrote:

```suggestion
            import html
            diff_stats = html.escape(diff_stats[0:DIFF_LIMIT]) + "...\n<truncated>\n"
```

Should avoid the rendering issues as seen here https://github.com/llvm/llvm-project/pull/66037#issuecomment-1714859370

https://github.com/llvm/llvm-project/pull/66037


More information about the llvm-commits mailing list