Skip Navigation

[Gelöst] Views – Unwanted HTML output

This support ticket is created vor 10 Jahre. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 24 Antworten, has 3 Stimmen.

Last updated by ashleighP vor 8 Jahre, 7 Monate.

Assisted by: Caridad.

Author
Artikel
#167951

Hi,

I included two views on a normal page, but it causes some strange HTML output:

- a breakline I did not include somewhere;
- empty p tags;
- html notes (<!-- note --> from view surrounded in paragraph.

I uploaded a private YouTube video, please comment with the emailadress I can share this with. In the video I show and explain the problems.

Kind regards,

Willem

#167968

Dear Willem,

You should have my email from previous threads. Let me know if you need me to send it again.

Regards,
Caridad

#168002

Yes I have, you should have a mail now about video "Views - Unwanted HTML output [unsolved]".

#168991

Dear Willem,

This looks like WordPress autop feature that automatically adds paragraphs and line breaks to test. It shouldn't be applied here. Can you disable other plugins (except toolset) and switch to a default theme like twentythirteen, just to discard interaction with other plugins or the theme?

If things are still the same, can you send me a database dump of your site to test the same on my server?

Regards,
Caridad

#175480

Hi Caridad,

I updated all my plugins and to the most recent version of WordPress.
First I changed to the main WordPress theme that comes with WP 3.8, no change.
Then I disabled all plugins, did not change anything.

The content template being used for that page I also checked, but that is on 'manual paragraph'.

So I really can't find a reason for this behaviour. I will send a backup to you as you asked.

Kind regards,

Willem-Siebe

#176040

Dear Willem,

Thank you for your email, I'm trying to reproduce this problem on our servers now.

Regards,
Caridad

#177244

Dear Willem,

I have been able to reproduce your problem on our servers and the developers are looking into it.

I will get back to you when I have more information.

Regards,
Caridad

#177327

Well, at least I'm happy to hear you experience the same ;-). I'll wait for you to update the ticket :-).

#177592

Dear Willem,

The first step is reproducing the problem. Our developers will look into a solution and I will get back to you shortly with it.

Regards,
Caridad

#182701

Hi Caridad, happy 2014. Do you have any news about this topic?

#182750

Dear Willem,

Thanks and happy 2014. I have just asked the developer in charge, I will post back with his feedback.

Regards,
Caridad

#187818

Dear Willem,

In next release you will be able to use the following syntax to control the output format of the post body when no "Content Template" is used:

[wpv-post-body view_template="None" output="raw"]

Up until now, this always used automatic paragraphs, so you are getting the unwanted output.

I will send development versions to your email so you can test this new feature.

Regards
Caridad

#188055

Hi Caridad, yes please send me the developers version. Does it only affect the views inserted in the body or does it affect the complete body?

As you can understand, if it affects the complete body, it will be very time consuming to write <p></p> around every paragraph.

Kind regards,

Willem

#189508

Dear Willem,

I will send you development versions to your email. You will only use the wpv-post-body new attribute in one place, this is where the actual content (written in the editor) is displayed. So you will only need to add the paragraphs in there. I can assist you getting this right.

Regards,
Caridad

#193542

Hi Caridad,

Although in the meanwhile a version 1.5.4 from types is released, I use both your development versions.

I changed:

[wpv-post-body view_template="None"]

to:

[wpv-post-body view_template="None" output="raw"]

but as you can see here

<em><u>hidden link</u></em>

it's still the same.

Kind regards,

Willem

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.