Skip Navigation

[Resolved] View always return an extra linebreak in text result

This thread is resolved. Here is a description of the problem and solution.

Problem: I always get an extra line included in the View results.

Solution: Check the template and output editor. In this case, an extra line is included at the end. It must be removed.

This support ticket is created 5 years, 4 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by romanB-3 5 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#1287945

Hello,
I have setup a view that always return me the text I want with an extra line break at the end...
I have deleted all line breaks every where I found them. And disabled the div wrap.
Thank you.

#1287961

I will be glad to take a look if you provide login credentials. Please tell me where I can see the View on the front-end of your site.

#1287987
Screen Shot 2019-07-09 at 1.41.18 PM.png
Screen Shot 2019-07-09 at 1.41.36 PM.png
Screen Shot 2019-07-09 at 1.42.56 PM.png

It's not obvious but there were extra lines in both of these Views, so I removed them. See the screenshots - line #2. You have to put your cursor there and delete these lines. Now the inspector shows only the line breaks you have placed in your content template. Can you confirm?

#1288065

Thank you very much.