How to change the text layout in the LRA. For example if you want to add bold text or create list elements
UK: Text formatting options for company specific texts
Users can format custom texts in their reports. This works with “markup language”, otherwise known as HTML tags. We don’t support all possible HTML tags for security reasons. Below is explained what tags are supported and how to implement them into your reports.
Setting company specific texts
It’s possible to edit most standard texts and chapter names in your company settings. You find these by clicking your name in the top right corner and then clicking your company name. You find the customization options under “Reporting Settings Risk Assessment”
Supported tags
<b> <b>bold</b> text bold text
<i> <i>italic</i> text italic text
<u> <u>underscored</u> text underscored text
<font> <font color=”red”>red</font> text red text
<sup> m<sup>3</sup> superscript m3 superscript
<sub> CO<sub>2</sub> subscript CO2 subscript
<li> <li>This is a list element</li> ● This is a list element
(Notice: This tag does not need <ul> or <ol> tags)
<br> The text starts on a new line (Line break). Does not need a closing tag.
Limitations of the <li> list element
The <li> tag creates a new line with a bullet point where the tag is inserted. The list element has a limitation in alignment of long items. It aligns the second line of text with the inserted bullet point, as in the below example:
- This is an example of a <li> bullet pointed list element that demonstrates the limitations of the alignment. The new line aligns with the bullet point above.
To solve this alignment issue, you can simply add a tab behind the last word of the previous line. This will cause the new line to align with the text above. You can copy and paste a tab from a text editor.
Limitations of symbols in text fields
While using HTML tags, it is not possible to use smaller than “<”, greater than “>”, or ampersand “&” symbols. This is because the system will try to read these symbols as part of a HTML tag. If you do want to use these symbols, please refer to the troubleshooting chapter.
Troubleshooting
When instead of the wanted formatting the tags show up in the report texts, one of the two following causes are most likely to be the culprit:
- There is an error in a tag. For example, you forgot to correctly insert an end tag.
- You have used a greater than, smaller than or ampersand symbol (>, <, &). The reporting server will try to read these symbols as HTML tags, which isn’t possible. You can solve this problem in two ways. You can either write out the text “Greater than”, “Smaller than”, “and”, or you can use the following tags to insert the wanted symbol.
< for the smaller than (<) symbol
> for the greater than (>) symbol
& for the ampersand (&) symbol
You can find more information and examples of HTML tags at the following link:
https://www.w3schools.com/tags/
The symbols mentioned in this guide are not an exhaustive list of supported symbols. However, please note that not all HTML tags are supported by our software, as mentioned earlier.