Format of pullrequest merge veto message

Hi all,

I am writing a merge-check script that validates certain rules on our Pull Requests.

However, I wasn’t able to add newline characters to the merge veto message, that appears when clicking on the disabled merge button.
I tried the syntax “a\nb”, and also “a\n\nb”,
but as you can see in the left side of the screenshot, it is rendered as regular space.

I would also like to know how to add line separator to the veto message, as shown in the right side of the screenshot.

Thanks in advance,

Hi Yael,

Its not possible to mark up the veto message at this stage. There is an open suggestion for it here:

It would be great to hear your use case for this. If the line break is to separate two different conditions that are failing, could you just add multiple vetos?

All the best,

Hi Kristy,

Thanks for the quick answer.
You are right, I can simply add multiple vetos, I wasn’t aware of this option.

Thanks again!