Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,002
Community Members
 
Community Events
165
Community Groups

HTML format on fields

I am trying to create an alert with HTML formatting (in the docs say I can do that) into the description field. The problem is I dont get the correct formatting with a simple <ul> and <li> tags. Am I missing something?

e.g.:

<html>
<body>
<ul>
<li>Text1</li>
<ul>
<li>Text2</li>
<ul>
<li>Text3</li>
<li>Text4</li>
</ul>
</ul>
</ul>
</body>
</html>

This dont show anything, only the Texts in new lines. Thanks for the help!!

1 answer

2 votes

Hi @Fran Moya

The unsorted list is rendered without bullet points, the list items are however rendered as indented text.  Also note that whenever you end a line with a "close element" statement (</p>, </ul>, </li>......) it creates a blank line, also note that lines containing only HTML elements also render as a blank line, it is best to include all elements and data relating to a list in a single line, please see the below example:

<html>
<p>This is regular text</p>
<ul><li>indented list item1</li><li>indented list item2</li><li>indented list item3</li></ul>
</html>

This is expected to render like this:

This is regular text

indented list item1
indented list item2
indented list item3



  
I hope this answers the question :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

335 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you