Category description in main page not rendering line breaks

Hello!!

I’m sorry, I have been struggling with this for days now and I have been unable to find a solution: do any one knows how to get line breaks rendered in the description of a category in the main page?

It does renders correctly once you are in that category:

But it’s shown as a single string, without line breaks, en the main page:

Any hint would be much appreciated!!

Lisandro

1 Like

Hello!! There is a workaround for this. I can not edit the topic so I’m writing here. You can use the following structure:

this&nbsp;is&nbsp;some&nbsp;text<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>this&nbsp;is&nbsp;some&nbsp;other&nbsp;text

The &nbsp; between the <br> will push the following text below the first one.

To deal with the mobile app rendering, just put spaces between the &nbsp;, like &nbsp; &nbsp;, wherever you need the text to break, and add new spaces between the <br> tags to make sure it pushes everything to the next line.

As an example, the following text renders perfectly in the pc as in the phone:

Ciudadanos apasionados por las ideas de la Libertad con la convicción de que la República Argentina puede, debe, y va a ser un lugar mejor, si trabajamos todos Unidos.</br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<br /><mark>&nbsp;&nbsp;&nbsp;¿Qué&nbsp;es&nbsp;UNI2?&nbsp;&nbsp;&nbsp;&nbsp;¿Quiénes&nbsp;Somos? &nbsp;&nbsp;&nbsp;Propuestas&nbsp;&nbsp;&nbsp;&nbsp;[**Afiliación**](https://foro.enunionylibertad.com/t/formulario-de-pre-afiliacion/92)&nbsp;&nbsp;&nbsp;&nbsp;Bases&nbsp;&nbsp;&nbsp;&nbsp;Redes&nbsp;&nbsp;&nbsp;</mark><br><br>ig&nbsp;[uni2cba](https://instagram.com/uni2cba?utm_medium=copy_link)&nbsp;&nbsp;&nbsp;&nbsp;tw&nbsp;[uni2cordoba](https://twitter.com/Uni2Cordoba?s=09)&nbsp;&nbsp;&nbsp; fc&nbsp;[uni2.cordoba](https://www.facebook.com/uni2.cordoba/)<br>