Line breaks inside a bullet point display differently for agents and end users on the help center. | Community
Skip to main content

Line breaks inside a bullet point display differently for agents and end users on the help center.

  • May 31, 2021
  • 3 replies
  • 0 views

After opening a ticket with the API with the following body:

{
  "ticket": {
    "comment": {
      "body": " * Bullet with line break\n Second line\nThird line\nFourth line"
    },
    "priority": "low",
    "subject": "My printer is on fire!"
  }
}
 
The line breaks in the bullet look like this for the agent:
 
But look like this for the End-user on the help center/guide:
 
As you can see everything is on 1 line, and I checked the HTML, it's not a css/styling issue, it just does not have any tags to create line breaks.
 
How is it possible that the Markdown is parsed differently for these 2 views?
Any solution?
 
Thank you

3 replies

  • June 1, 2021

You have a space after your first \n but not the others, does that make a difference?


Hi,

No, it does not make any difference, I just ran it again, same result.


  • July 14, 2021

Does it work if you manually add the * in front of every line?