Download & Extend

What is causing "&" being changed to "&"?

Project:CKEditor - WYSIWYG HTML editor
Version:7.x-1.9
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I am trying to embed aYourTube iFrame with the &start option. I enter the code in source mode but it gets changed to &start ...

This may not be a ckEditor issue but if anyone knows I would appreciate help. Where is this happening and how can I stop it?

Comments

#1

If this value is changed when u switching from source code (where u pasting iframe code) to wysiwig mode, then u probably have enabled "HTML entities" in CKEditor profile ("Advanced options" section). So if it enabled pls disable it.

When value is changed only after save of node, then u must check filters settings in your text formats in Drupal.

I hope does it help u :) If not pls write i will try to find other solution for this problem...

Greetings

#2

Thanks for the suggestion ... the "&" is changing when I toggle between source and wysiwyg mode. I disabled the HTML entities setting but it makes no difference.

#3

Ok, so u can try to use this config option: http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.forc...

Paste following code to CKEditor profile in Custom JavaScript ("Advanced options" section):
config.forceSimpleAmpersand = true;

It should help in your case.

Greetings

#4

That appears to have fixed the problem. Now I have to figure out why the &start setting is not working but that is not a Drupal problem. After all, the problem was I was using &start and should have been using ?start. Nonetheless your assistance was valuable.

Thanks

#5

Status:active» closed (fixed)