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
Dear Willem,
You should have my email from previous threads. Let me know if you need me to send it again.
Regards,
Caridad
Yes I have, you should have a mail now about video "Views - Unwanted HTML output [unsolved]".
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
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
Dear Willem,
Thank you for your email, I'm trying to reproduce this problem on our servers now.
Regards,
Caridad
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
Well, at least I'm happy to hear you experience the same ;-). I'll wait for you to update the ticket :-).
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
Hi Caridad, happy 2014. Do you have any news about this topic?
Dear Willem,
Thanks and happy 2014. I have just asked the developer in charge, I will post back with his feedback.
Regards,
Caridad
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
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
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
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