# Help in inserting white space in custom field when generating a PDF

**URL:** <https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147>\
**Category:** Uncategorized\
**Created:** [February 10, 2021, 6:29pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147 "2021-02-10T18:29:55Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taha\_El\_Zein](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/taha_el_zein/32/29342_2.png) [@Taha\_El\_Zein](https://forum.manager.io/u/Taha_El_Zein)\
**Post date:** [February 10, 2021, 6:29pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/1 "2021-02-10T18:29:55Z")

</div>

I am trying to add a place of signature at the bottom of my documents, one place for my company and another for the client.  
I tried adding the entity “&emsp” to generate mutiple spaces between texts on the same line of a custom field title, but when I generate a PDF, the white space between them is gone. See the screen shot below:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/d/7/d70d8fd79a62e6c7419562055e0f0646f33da325.png)  
Is there a way to force the PDF document to keep the white space between them? if not, is there a way to insert two custom themes on the same line separated by white space?

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [February 10, 2021, 7:01pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/2 "2021-02-10T19:01:40Z")

</div>

Read the Guide about repositioning custom fields.

---

<div class="post-metadata">

**Author:** ![Taha\_El\_Zein](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/taha_el_zein/32/29342_2.png) [@Taha\_El\_Zein](https://forum.manager.io/u/Taha_El_Zein)\
**Post date:** [February 10, 2021, 7:16pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/3 "2021-02-10T19:16:41Z")

</div>

can you give me the link? i searched for it on the guide but could not find it

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [February 10, 2021, 7:23pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/4 "2021-02-10T19:23:37Z")

</div>

[https://www.manager.io/guides/17100](https://www.manager.io/guides/17100)

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [February 10, 2021, 8:28pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/5 "2021-02-10T20:28:34Z")

</div>

You need to use a table for that.

---

<div class="post-metadata">

**Author:** ![Taha\_El\_Zein](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/taha_el_zein/32/29342_2.png) [@Taha\_El\_Zein](https://forum.manager.io/u/Taha_El_Zein)\
**Post date:** [February 10, 2021, 8:33pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/6 "2021-02-10T20:33:03Z")

</div>

hey Tut, thank you for your quick response and help.  
If I can ask you another thing, which I could not on the forums.  
In the custom field, I underline the text as seen below in the screenshot. The underlying is showed with the print option but when I generate a PDF the text will show normal without underlying.  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/5/9/59e21f9ecf5cccb0445b97188d50c999dcbdcd7c.png)

Is there a way to stop the PDF generator from rendering out added style? It seems that the PDF generator ignored a lot of added styles, in both custom field or the theme itself.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [February 10, 2021, 8:36pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/7 "2021-02-10T20:36:06Z")

</div>

Sorry, but I am not a programming instructor. And this is not a coding forum. If you don’t have the skills, hire a local programmer.

---

<div class="post-metadata">

**Author:** ![Taha\_El\_Zein](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/taha_el_zein/32/29342_2.png) [@Taha\_El\_Zein](https://forum.manager.io/u/Taha_El_Zein)\
**Post date:** [February 10, 2021, 8:44pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/8 "2021-02-10T20:44:28Z")

</div>

I am sorry If my question sounded wrong and I asked for coding instructions. Let me rephrase my question Please.  
When I use the internal-PDF generator of the software, the generator ignores style attributes that I have added. The documents will be generated without certain styles. How can I force the PDF-generator to keep the styles that I have added? The generator appear to only include styles added in theme table, but every style outside the Table is ignored or overlooked.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [February 10, 2021, 9:04pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/9 "2021-02-10T21:04:46Z")

</div>

Against my better judgment:

You have used a formatting tag for unarticulated text. You have not defined a style.

---

<div class="post-metadata">

**Author:** ![Mark](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mark](https://forum.manager.io/u/Mark)\
**Post date:** [February 11, 2021, 9:09am UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/10 "2021-02-11T09:09:59Z")

</div>

> [@Tut](#):
>
> You have used a formatting tag for unarticulated text. You have not defined a style.

That is not the problem. The internal PDF generator simply doesn’t process the underscore `<u>` nor the italic `<i>` tag, even when inserted as style such as `text-decoration: underline`. @lubos, can the PDF generator’s behaviour be modified?

@Taha_El_Zein you can use the print button and print as PDF. And to answer your question in your first post: search the forum for Signature. 😉

---

<div class="post-metadata">

**Author:** ![Taha\_El\_Zein](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/taha_el_zein/32/29342_2.png) [@Taha\_El\_Zein](https://forum.manager.io/u/Taha_El_Zein)\
**Post date:** [February 11, 2021, 10:17am UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/11 "2021-02-11T10:17:49Z")

</div>

Hey Mark, thanks for your reply, you addressed my issue well.  
I am trying to keep print as PDF a last resort since it does not repeat the table head on extra pages.

> [@Mark](#):
>
> can the PDF generator’s behaviour be modified?

I am asking for this one as I have several related issues that can be fixed all together with this.

---

<div class="post-metadata">

**Author:** ![Davide](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@Davide](https://forum.manager.io/u/Davide)\
**Post date:** [February 13, 2021, 8:07am UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/12 "2021-02-13T08:07:47Z")

</div>

You simply cannot. The internal pdf generator only use a subset of HTML. So if you use unsupported tags you will see them on the screen thanks to your browser rendering engine but you will get a different output if you create directly pdf. Since I don’t think that @lubos will ever change the pdf renderer, the only solution is to print to PDF as already suggested.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [January 18, 2023, 2:46pm UTC](https://forum.manager.io/t/help-in-inserting-white-space-in-custom-field-when-generating-a-pdf/33147/13 "2023-01-18T14:46:34Z")

</div>

Closed on January 18, 2023, 2:46pm UTC


