Skip Navigation

[Geschlossen] Getting an errant P tag before

This support ticket is created vor 9 Jahre, 1 Monat. 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 2 Antworten, has 2 Stimmen.

Last updated by Luo Yang vor 9 Jahre, 1 Monat.

Assigned support staff: Luo Yang.

Screen Shot 2013-12-11 at 3.38.53 PM.png

I have a view that generates an unwanted <p></p> before them template no matter what I do.

The attached shows the template as well as the generated HTML. You'll see that I have no white space at all, yet there is a <p> generated. For demonstration purposes I have an exclamation before <wpv-loop> to show that the <p> is coming from this view. Without the ! there still is an empty <p> tag. I have to get rid of that, it is wrecking my layout.

I do not appear to have this issue with another view.


I was able to reduce the blank lines inside the blank <p> by removing all whitespace from the Combined Output


Just to be clear there is also not whitespace introduced by the embedding page. The entirety of that page is this:

[wpv-view name="Intro"][wpv-view name="Drawers"]

Luo Yang

Languages: Englisch (English ) Vereinfachtes Chinesisch (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hi chrisH-10,

I can not duplicate same problem in my localhost,
Here is a test site for you, could you duplicate same problem in it?
hidden link
user/pass: xgren/111111

Das Thema „[Geschlossen] Getting an errant P tag before“ ist für neue Antworten geschlossen.