mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
fix: link only the repo head in message titles, keep the subject plain
This commit is contained in:
parent
84d8a5384d
commit
dfb65ef70d
7 changed files with 75 additions and 15 deletions
|
|
@ -25,7 +25,7 @@ describe("telegram renderNeutralMessage", () => {
|
|||
};
|
||||
const out = renderNeutralMessage(message);
|
||||
expect(out).toContain(
|
||||
'<b><a href="https://github.com/acme/widget">acme/widget: Add feature</a></b>',
|
||||
'<b><a href="https://github.com/acme/widget">acme/widget</a>: Add feature</b>',
|
||||
);
|
||||
expect(out).toContain("<b>Status</b>: success");
|
||||
expect(out).toContain("<i>acme/widget</i>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue