# How do I display blank values?

**URL:** <https://community.weweb.io/t/how-do-i-display-blank-values/1143>\
**Category:** How do I?\
**Created:** [September 18, 2022, 7:52pm UTC](https://community.weweb.io/t/how-do-i-display-blank-values/1143 "2022-09-18T19:52:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peteletkemansst](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@peteletkemansst](https://community.weweb.io/u/peteletkemansst)\
**Post date:** [September 18, 2022, 7:52pm UTC](https://community.weweb.io/t/how-do-i-display-blank-values/1143/1 "2022-09-18T19:52:31Z")

</div>

How do I display a blank value?  
As shown in the attached image, when a collection does not have a value I like to display something like ‘\n’ or ’&nbsp;', etc but these get transformed into ’ ’ when saved.  
 ![blankValue](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/ba01812b4d9e6cee3a2c0eb7c8dccdfa2b46a828.png)

---

<div class="post-metadata">

**Author:** ![stagiaire](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/stagiaire/32/1199_2.png) [@stagiaire](https://community.weweb.io/u/stagiaire)\
**Post date:** [September 19, 2022, 7:23am UTC](https://community.weweb.io/t/how-do-i-display-blank-values/1143/2 "2022-09-19T07:23:33Z")

</div>

Try to put ‘&nbsp’ if you need an empty space. Weweb’s preview might display strange thing, but the end result is a single space.

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/8b2d41181f2e420b0f7c0deebc4106612d541448.png)

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [September 19, 2022, 9:45am UTC](https://community.weweb.io/t/how-do-i-display-blank-values/1143/3 "2022-09-19T09:45:46Z")

</div>

I used to handle this setting the `white-space` css property on the text:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/abd49539aa5193cbe81be845374a0b8b83084333.png)  
But now with the last update is not working anymore.

@aurelie it looks like the property is set correctly on the parent `div` but the `p` element has a style `white-space: initial;`. I think it wasn’t like that before as I was able to correctly apply the style. Any reason why it’s hard coded now?

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [September 19, 2022, 12:29pm UTC](https://community.weweb.io/t/how-do-i-display-blank-values/1143/4 "2022-09-19T12:29:37Z")

</div>

I think this is because we add an option to handle text ellipsis, which is now handling this css option.  
If the ellipsis option is not enough, I can try to fix this and not forced the value to initial.
