# Way to do line break in simple table cell in report?

**URL:** <https://forum.inductiveautomation.com/t/way-to-do-line-break-in-simple-table-cell-in-report/111679>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [October 23, 2025, 2:02pm UTC](https://forum.inductiveautomation.com/t/way-to-do-line-break-in-simple-table-cell-in-report/111679 "2025-10-23T14:02:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [October 23, 2025, 2:02pm UTC](https://forum.inductiveautomation.com/t/way-to-do-line-break-in-simple-table-cell-in-report/111679/1 "2025-10-23T14:02:45Z")

</div>

Using 8.1.47

Have a report with a simple table as the number of rows/columns are hardcoded. In one of the cells I just need to show two lines of text like

```python
Line 1
Line 2

```

but I can’t seem to actually do this, \n doesn’t work, `<HTML>Line 1<br>Line 1`just shows the html tags, and pressing Enter just highlights the whole cell as does shift+enter. This must be possible but I can’t figure it it out this morning can someone assist?

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [October 23, 2025, 2:06pm UTC](https://forum.inductiveautomation.com/t/way-to-do-line-break-in-simple-table-cell-in-report/111679/2 "2025-10-23T14:06:01Z")

</div>

I am assuming that in your actual attempt you closed the HTMl element?

Did you try \r\n?

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [October 23, 2025, 2:07pm UTC](https://forum.inductiveautomation.com/t/way-to-do-line-break-in-simple-table-cell-in-report/111679/3 "2025-10-23T14:07:14Z")

</div>

Given the rest of ignition you normally just have to do the opening I didn’t but trying it with the close didn’t help either. No luck with \r\n either.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [October 23, 2025, 2:51pm UTC](https://forum.inductiveautomation.com/t/way-to-do-line-break-in-simple-table-cell-in-report/111679/4 "2025-10-23T14:51:40Z")

</div>

You will need to return the actual HTML string with the data from the data source.

[Report - Text Shape | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.3/appendix/components/report-design-components/report-design-shape-palette/report-component-text-shape#using-html-in-the-edit-text-tab)

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [October 23, 2025, 4:13pm UTC](https://forum.inductiveautomation.com/t/way-to-do-line-break-in-simple-table-cell-in-report/111679/5 "2025-10-23T16:13:40Z")

</div>

That works thanks. Annoying to have to do it this way but glad it works.
