# \[IGN-8153\] Text box unexpectedly cut off very early with added text?

**URL:** <https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [August 1, 2023, 2:19pm UTC](https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222 "2023-08-01T14:19:02Z")\
**Posts on this page:** 6\
**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:** [August 1, 2023, 2:19pm UTC](https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222/1 "2023-08-01T14:19:02Z")

</div>

Using 8.1.26 and the reporting module.

We make reports for quotes. Here's an example of how it looks with the default generated text which comes through fine

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/805f12c49c611aaf423f65f2aa848f487f0f5879.png)

If I change the default text and add too many characters, it cuts off very early -

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/7/e779e2fab71870cce6b5ca66e594f6ea46eccd33.png)

However there seems to be some tolerance for a few extra characters - it works if I only add CIP

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4ef85f6dfc3c9acd70bc91bd3aa44928e7cecb15.png)

Here's the design oft he page -

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/5/656688bbdd03fe657ffc42022efe55dbf8d1bdad.png)

there are a bunch of text boxes that make up that table, but at worst I guess I would have expected the text to disappear behind the table or stop when it hit it, not stop after 1.5 sentences as in picture 2.

I tried setting the "Overflow behavior" property of the text area in the report designer from "Shrink text to fit" to "None" but I get the same behavior pictured. Anyone experience this before, or have any idea what is going wrong? I've never seen this behavior before.

---

<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:** [August 1, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222/2 "2023-08-01T14:32:54Z")

</div>

Interestingly if I remove the `<HTML>` and `<b></b>`s it comes through correctly / as expected. I guess the HTML formatting is playing a part in this.

---

<div class="post-metadata">

**Author:** ![Vi\_Quang](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vi_quang/32/82707_2.png) [@Vi\_Quang](https://forum.inductiveautomation.com/u/Vi_Quang)\
**Post date:** [August 1, 2023, 8:44pm UTC](https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222/3 "2023-08-01T20:44:45Z")

</div>

That's an interesting detail. I'll try to look at this today, if possible, or at the latest tomorrow and see if I can figure what's going on.

---

<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:** [August 2, 2023, 12:25pm UTC](https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222/4 "2023-08-02T12:25:36Z")

</div>

I can send you a copy of the report. The problematic field is a parameter so I can also send you one that "works" and one that cuts off very early.

---

<div class="post-metadata">

**Author:** ![Vi\_Quang](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vi_quang/32/82707_2.png) [@Vi\_Quang](https://forum.inductiveautomation.com/u/Vi_Quang)\
**Post date:** [August 2, 2023, 2:52pm UTC](https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222/5 "2023-08-02T14:52:38Z")

</div>

That'll be great. I tried to replicate yesterday evening based on what you posted, and couldn't reproduce.

---

<div class="post-metadata">

**Author:** ![Vi\_Quang](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vi_quang/32/82707_2.png) [@Vi\_Quang](https://forum.inductiveautomation.com/u/Vi_Quang)\
**Post date:** [August 2, 2023, 6:19pm UTC](https://forum.inductiveautomation.com/t/ign-8153-text-box-unexpectedly-cut-off-very-early-with-added-text/77222/6 "2023-08-02T18:19:28Z")

</div>

With Brian's help was able to produce and examine the problem.

**The problem is as follows:**  
For text components you can use html to produce styled texts. If the html element used results in a style change at the point where the text wraps, then all the text that normally would be displayed after the wrap no longer appears.

Some examples for clarification:

A1. With "a" bold  
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called  
**a** backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,  
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb  
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.

A2. Will display as (text at "a" and following "a" not shown):  
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called

B1. With "called" bold:  
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often **called**  
a backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,  
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb  
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.

B2. Will display as (no missing text):  
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often **called**  
a backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,  
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb  
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.

**Workaround** :  
You can use the `<br>` element to manually break the text at points where there are style changes close to the point of wrapping.

C1. Adding a `<br>` element after "called" we can fix the problem illustrated in A1.

`<html>`With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called `<br>``<b>`a`<\b>` backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over, exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.`</html>`

C2. Will display correct as:  
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called  
**a** backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,  
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb  
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.
