Problem with carry return or line feed in notes activities

When create activity, dont work “” or “\r\n” in the note inside activity dont work.
Can anybody help me.
Thanks in advance.
Paul

$cadena = array(
	'subject'=> $mensaje,
	'done'=>'0',
	'type'=> $tipoActividad,
	'user_id'=> $tUsuario,
    'deal_id'=> $IDPipeCode,
    'note'=> $MensajeAdjunto,
    'done'=> $tDone
    );

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $cadena);
$output = curl_exec($ch);
curl_close($ch);

Did you try using an html tag?

Hello, @cyberpolito! :wave:

Indeed, as @p13guy rightly suggested, we support HTML formatting for notes, so you can use HTML tags inside the note parameter to add line breaks, text formatting etc.

Let us know if that helps!
Cheers,
Helena

1 Like

How would you go to display something equivalent to a “code” or “pre” tag?

I tried inline CSS, but didn’t work.

My current alternative is to use italic, but it’s not great to show something like “code” or “API response message” kind of thing.