diff --git a/CHANGELOG.md b/CHANGELOG.md index cb20241d7..e4f6d1048 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ - Update comment instead deleting, if it has replies (BitBucket Server) [@langovoi][] - Fix BitBucket Server GitDSL [@langovoi][] - Add support of paged APIs of BitBucket Server [@langovoi][] +- Revert removal of implicit `

` tag from [danger/danger-js#754](https://github.com/danger/danger-js/pull/754) and add + disctinction depending on containing markdown or not - [@hanneskaeufler][] # 6.1.6 diff --git a/source/runner/templates/_tests/__snapshots__/_githubIssueTemplates.test.ts.snap b/source/runner/templates/_tests/__snapshots__/_githubIssueTemplates.test.ts.snap index 5325a21e6..9748f75eb 100644 --- a/source/runner/templates/_tests/__snapshots__/_githubIssueTemplates.test.ts.snap +++ b/source/runner/templates/_tests/__snapshots__/_githubIssueTemplates.test.ts.snap @@ -43,7 +43,10 @@ exports[`generating inline messages Shows correct messages for inline/regular vi :warning: - **File.swift#L10** - Test message + + + **File.swift#L10** - Test message + @@ -61,7 +64,40 @@ exports[`generating inline messages Shows correct messages for inline/regular vi " `; -exports[`generating messages leaves space between s to allow GitHub to render message content as markdown 1`] = ` +exports[`generating messages avoids adding space inside the for proper vertical alignment if the message does not contain any markdown 1`] = ` +" + + + + + + + + + + + + + + + + +
Messages
:book:no markdown here
+ + +

+ Generated by :no_entry_sign: dangerJS +

+" +`; + +exports[`generating messages leaves space between s to allow GitHub to render message content as markdown if the message contains any 1`] = ` "