cachet icon indicating copy to clipboard operation
cachet copied to clipboard

New line not maintained in incidents and maintenance (both in the email and on the UI)

Open labolanimichele opened this issue 9 years ago • 5 comments

When creating a new incident or a new scheduled maintenance, I as an admin indent the text with new lines, so to make the communication look better to the users.

However, this indentation is not maintained in the email, nor in the UI (partially). The key issue is however in the email, as shown below.

See attached screenshots:

Creation of the incident - inserting new lines newline_create

Email notification - no new lines included newline_email

UI Notification - it seems that 2 new lines appear as a single new line. Single new lines are instead ignored. newline_ui

I believe 2.3(.6?) don't remember which one I had tried) was not showing this issue in the email...

Thanks! Michele

labolanimichele avatar Sep 12 '17 09:09 labolanimichele

do you used markdown syntax? If not, try it out. That fixed it for me

nixmomo avatar Sep 12 '17 10:09 nixmomo

Hi Nixmomo,

did it solve the issue also in the email? Markdown works for me in the UI (hence the 2 new lines becoming 1, which is ok), but does not work in the email notification, where markdown seems not to be recognized.

labolanimichele avatar Sep 12 '17 10:09 labolanimichele

yup it worked in my 2.4. installation for both. i checked it and all new lines are in mailings too

nixmomo avatar Sep 12 '17 11:09 nixmomo

2.4 should fix this :)

jbrooksuk avatar Sep 19 '17 12:09 jbrooksuk

just pulled the very last 2.4, still not working on the email for me. On the status page it looks perfect, but in the email I get plain text without any indentation at all. @nixmomo , do you have the very last 2.4? @jbrooksuk , could it be that something got changed during 2.4 development?

labolanimichele avatar Sep 19 '17 14:09 labolanimichele