• Hi,

    I think this is a known problem, but I have found nothing yet. I hope someone can help me.

    If I use a “&” in a post with the WYSIWYG-editor, each time I edit it, the “&” becomes “&”, so after one edit, it reads “&”, after the second time “&” and after a while, there is a whole bunch of it: “&….”.

    I have to change this manually each time, and that is pretty annoying.

    Is there any fix for this?

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Do not switch back and forth between the visual and html editors because it will mess up your code.

    Thread Starter saphod

    (@saphod)

    Even if I don’t switch, it happens. I have a post with “&&”. Everytime I go edit, it displays &&…

    Thread Starter saphod

    (@saphod)

    Any idea if this has been changed in WP 2.7?
    I am still on 2.6.5 and there it is the same problem – still.

    Does anyone know how to get this right?
    It’s pretty annoying.

    saphod,

    I am seeing this problem also and it is very annoying. Did you ever find a solution?

    Jon

    OK if you have the syntaxhighlighter plugin installed it is double encoding for TinyMCE which if you are not using screws this up majorly.

    just comment out the support for TinyMCE

    // Account for TinyMCE
    		//add_filter( 'content_save_pre', array(&$this, 'TinyMCEDecode'), 8 );
    		//add_filter( 'the_editor_content', array(&$this, 'TinyMCEEncode'), 8 );

    Euhm, and where would I comment that support?

    I edited the code for TinyMCE, but could not find what you mention. I found

    add_filter( ‘tiny_mce_before_init’, ‘tadv_mce_options’ );

    which I commented, but it did not help. I still get the amp; issue. Then I tried deactivating the plugin, but that also did not help. I have the following version of the plugins installed:

    SyntaxHighlighter 1.1.2
    Tiny MCE Advanced 3.2

    If somebody could shed another light on how to solve this, please be welcome, this is getting… annoying.

    Pardon. Found it. It is exactly as sidhighwind describes, in the syntaxhighlighter plugin. I was looking everywhere, except that one. But hey, I’m a man, I’m allowed by nature.

    dinsdale

    (@dinsdale)

    I’m glad I found this. Effin’ hades! All is right again.

    Hi I found out, that it was the plugin “simple tags” withe the option auto tags switched on. I will write the author. 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WYSIWYG replaces each & with &’ is closed to new replies.