Skip Navigation

[Resolved] Output doesn't correctly show line breaks

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 6 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#629385
Screen-Shot-2018-03-28-at-2.29.31-PM.jpg

I am trying to: have the page display items with soft line breaks between each name.

Link to a page where the issue can be seen: hidden link

I expected to see a list like this: hidden link

Instead, I got: hidden link (the list with all line breaks removed). This doesn't appear to be happening consistently.

I've deactivated all the plugins other than Toolset plugins on the staging site (linked above). Other than that it is identical to the live site connected to my wp-types account.

I'm not sure if this provides any insight. This is not, however, the result of a view. Perhaps it is the result of Layouts?

The screenshot shows a lot of Active suppliers all in one paragraph. There should be a line break after each one. In the visual editor within wordpress, linebreaks are present. When looking at the code view, it displays correctly, but there is no code for line breaks. When I hard code them in, it seems to work, but only if I don't switch back to visual editor.

For SFTP access, use port 2222

https://toolset.com/forums/topic/my-views-output-doesnt-show-any-line-breaks/

#629449

Hello,

Thanks for the details, I have done below modification in your website:
1) Edit the problem post, move it into trash
hidden link

2) Create a new page with same title and content:
hidden link

Please test again, check if it is fixed:
hidden link

#629615

Hi and thanks for the response. I created a new page on the primary website and can see that the results are that this worked. It does not happen with each page, but it has happened with a recent post as well. Any idea what might trigger this issue? Or did you change something in the code of the website that I am unaware of?

#629884

Q1) Any idea what might trigger this issue?
It might be a compatibility problem, please try these:
deactivate other plugins and switch to wordpress default theme, and create new posts. and test again

Q2) Or did you change something in the code of the website that I am unaware of?
No, I did not, see the post above:
https://toolset.com/forums/topic/output-doesnt-correctly-show-line-breaks/#post-629449