Forum closed. New forum available at http://community.wymeditor.org/

How do you stop WYMeditor replacing special chars on submit?

Support forum for WYMeditor.

How do you stop WYMeditor replacing special chars on submit?

Postby MikePearce on Wed Dec 19, 2007 9:07 am

Hi all!

I'm hoping this is a fairly easy question, I've had a search but can't find much about my question, the only thing I found was to use "html" instead of "xhtml" - although I don't know what it means or where to change it.

Anyway, I want to have
Code: Select all
<a href="[[CONF: gateway_url]]">Click here</a>


But when I click "Submit" WYMeditor replaces the [[ and the space with url friendly chars, which I don't want (as the href will be replaced by PHP later).

Anyone know where I can find the function that does this replacement? I'd be happy to stop the editor doing any kind of replacement if it's easier and less error prone as I'll be checking all input with PHP anyway.

Thanks in advance for your help!

Mike[/code]
MikePearce
 
Posts: 1
Joined: Tue Dec 18, 2007 4:49 pm

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest