Solved

CKEditor breaking asp URL

Posted on 2011-03-08
2
758 Views
Last Modified: 2012-05-11
Really hoping someone can help on this...

We've just installed the new CKeditor and are managing some asp code with it, but upon hitting 'source' and saving it seems to break the code and adds 'cke_protected' in URLs which now dont work.

This is the asp we've set up to manage via the editor:

<div class="stdAdTemplate Advert" id="Ad[AdPosition]">

    <ul class="tabs">
        <li class="aboutustab active">
            About Us</li>
        <li class="maptab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#map">Map</a></li>
        <li class="featurestab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#features">Features</a></li>
        <li class="openingtimestab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#open">Opening Hours</a></li>
        <li class="voucherstab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#voucher">Vouchers</a></li>
    </ul>
    <div class="tab aboutus">
        [SummaryText]
        <div class="fulllink">
<!--FullAdLink-->       </div>
    </div>
    <div class="tab map">
        &nbsp;</div>
    <div class="tab features">
<!--BulletPoints1--><!--BulletPoints2-->        <div class="clear">
            &nbsp;</div>
    </div>
    <div class="tab openingtimes">
        [OpeningTimes]</div>
    <div class="tab vouchers">
        &nbsp;</div>
</div>

As mentioned, when switching to 'source' in the editor, it breaks the code somehow, for example this URL or one of the anchors is now not working: http://www.inside-guides.co.uk/brentwood/hotels-and-accommodation/%3C!--%7Bcke_protected%7D%7BC%7D%3C!--FullAdURL--%3E--%3E#features

These anchors (e.g. Features) are used for these adverts: http://www.inside-guides.co.uk/brentwood/hotels-and-accommodation/hotels-and-guest-houses.html

Many thanks if you can help...
0
Comment
Question by:UName10
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 35074195
Hi, this appears to be a bug, and there have been patches that may fix it.  You may need to use a stable version:
http://dev.ckeditor.com/ticket/4880

Regards,

Rob.
0
 

Author Closing Comment

by:UName10
ID: 35377419
Yep - thanks for the tip and sorry it's late!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question