Posts: 6
Threads: 3
Joined: Dec 2010
Hi at all,
today i stumbled over this tags in my html code "<p></p>" and i don't know where they're from. The only reason i found is the preg_replace in plugins like "p01-contact" or "Search plugin (I18N)" and even my own plugin.
So i come to the conclusion that the cause have to be in the GetSimple core.
I would be thankful if you have a solution.
Cheers Dani
Posts: 2,928
Threads: 195
Joined: Feb 2011
Dani,
please give better information:
which version are you using?
URL of the page where you find this empty paragraph
otherwise this info is only 50 % ;=)
Posts: 6
Threads: 3
Joined: Dec 2010
2011-04-07, 04:59:46
(This post was last modified: 2011-04-07, 05:03:43 by gabbyadjei.)
Sorry,
ok i am using GS 3.0 or GS 2.31 doesn't matter, here in GS 2.31:
http://verlagsvertretung.martins-buchladen.de/kontakt/ i used the contact form.
On
http://xxl-objekt.de/xxl-objekt.de/kontakt/ GS 3.0 also after the <form> tag.
Then i saw it on
http://mvlcek.bplaced.net/search (not my page) after the </form> i think its the same issue (Search I18N Plugin).
And on an other project, with my own plugin but i am using the same technique like in the p01-contact form to replace the placeholder (% testest %)
I hope that's enough, thanks for support.
Posts: 290
Threads: 26
Joined: Oct 2010
The WYSIWYG editor wraps each paragraph of text in the paragraph (<p></p>) tag.
-Rob A>
Posts: 2,928
Threads: 195
Joined: Feb 2011
it is possible to set editoroptions not to use <p> around each text (and empty lines)
so do a forum search here, you can define that in the GSEDITOROPTIONS in gsconfig.php
Cheers, Connie
Posts: 2,094
Threads: 54
Joined: Jan 2011
The I18N Search plugin removes the surrounding paragraph from the resulting page, if there is no other text within.