Problem with links in ckeditor

6
When I add a link of type www.google.com?var=1&var=2&var=3 into CKEditor it automatically inserts &amp leaving the link looking like this: www.google.com?var=1&ampvar=2&ampvar=3

Has anyone ever had this problem and found the solution?

    
asked by anonymous 06.03.2015 / 13:57

1 answer

4

According to this thread in CKEditor support , you need to change a configuration so that & is not "escaped" when within links:

CKEDITOR.config.forceSimpleAmpersand = true;

After enabling this setting (which can also be done for an individual publisher, instead of globally on the page), the created publishers will not convert & to & within links, but will continue to do so in normal content (as expected). I can not tell in what other circumstances this behavior also occurs, if any.

    
06.03.2015 / 15:53