Opened 14 years ago

Closed 13 years ago

#6716 closed Bug (invalid)

FCKEditor 2.6.5 adds span tags when viewing source

Reported by: Lindsay Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: FCKeditor 2.6.5
Keywords: Cc:

Description

We are using the fckeditor version 2.6.5 and are having issues with it adding multiple span tags to the html code. Example: This is the initial code: <p class="c6"><span class="c5"><strong><span class="c2"><span class="c1"><strong><span class="c2"><span class="c1"><strong><span class="c2"><span class="c1"><strong><span class="c2"><span class="c1">Burnsville</span></span></strong></span></span></strong></span></span></strong> Toyota</span><br></span><span class="c1">Internet Sales Hotline: 1-800-513-9239</span><br><br></strong><span class="c4"><strong><span class="c3">Hi [INSERT CUSTOMER FIRST NAME],</span><br><br><span class="c3">Thank you for the internet request. You requested a 2011 Toyota Rav4. Great choice! When can you come in to test drive?</span></strong></span></span></p><p class="MsoNormal c17"><span class="c8"><span class="c7"><strong>2011 Rav4<br></strong><br></span><span class="c7"><strong>Above is the standard equipment and below are the factory installed options:<br></strong><br></span><strong><span class="c7"><span class="c7"><span class="c7"><span class="c7">MSRP</span></span></span>: $<br><br>Internet Price: $</span><br></strong></span><span class="c5"><span class="c9"><br></span><span class="c13"><span class="c16"><span class="c14"><span class="c13"><span class="c5"><span class="c11">Available incentives on 2011 RAV4:<br>$500 Customer Cash<br>--or--<br>1.9% financing for 36 months<br>1.9% financing for 48 months<br>1.9% financing for 60 months<br>--or--<br>Low Lease Rates<br><span><em><span class="c10">(financing rates are thru TFS on approved credit)</span></em></span><br><br><span class="c4">*The Internet Price and Incentives expire on January 3, 2011. The internet price includes the factory installed options and customer cash rebate. It does not include<span class="c3"> tax and lic. fees.</span></span></span><span class="c12"> </span></span><span class="c12"><br></span></span><br><strong>We have a great selection of pre-owned vehicles also, be sure to ask your salesperson!</strong></span><br><span class="c4"><br><span class="c15"><strong>If you are able to, please print a copy of your email before you visit. We find it is a much more pleasant experience for our customers to deal with the salesperson who is already familiar with your wants and needs. Also any pricing discussed is only valid through the internet department.</strong></span></span><span class="c7"><strong> <br></strong></span></span><span class="c4"><br>Should this vehicle not meet your needs, please let me know. I would be happy to assist you on a different vehicle, and get you the best possible deal.</span></span></span></p>

After viewing the sourcecode once, it will look like this: <p class="c6"><span class="c5"><strong><span class="c2"><span class="c1"><strong><span class="c2"><span class="c1"><strong><span class="c2"><span class="c1"><strong><span class="c2"><span class="c1">Burnsville</span></span></strong></span></span></strong></span></span></strong> Toyota</span><br></span><span class="c1">Internet Sales Hotline: 1-800-513-9239</span><br><br></strong><span class="c4"><strong><span class="c3">Hi [INSERT CUSTOMER FIRST NAME],</span><br><br><span class="c3">Thank you for the internet request. You requested a 2011 Toyota Rav4. Great choice! When can you come in to test drive?</span></strong></span></span></p><p class="MsoNormal c17"><span class="c8"><span class="c7"><strong>2011 Rav4<br></strong><br></span><span class="c7"><strong>Above is the standard equipment and below are the factory installed options:<br></strong><br></span><strong><span class="c7"><span class="c7"><span class="c7"><span class="c7">MSRP</span></span></span>: $<br><br>Internet Price: $</span><br></strong></span><span class="c5"><span class="c9"><br></span><span class="c13"><span class="c16"><span class="c14"><span class="c13"><span class="c5"><span class="c11">Available incentives on 2011 RAV4:<br>$500 Customer Cash<br>--or--<br>1.9% financing for 36 months<br>1.9% financing for 48 months<br>1.9% financing for 60 months<br>--or--<br>Low Lease Rates<br><span><em><span class="c10">(financing rates are thru TFS on approved credit)</span></em></span><br><br><span class="c4">*The Internet Price and Incentives expire on January 3, 2011. The internet price includes the factory installed options and customer cash rebate. It does not include<span class="c3"> tax and lic. fees.</span></span></span><span class="c12"> </span></span><span class="c12"><br></span></span><br><strong>We have a great selection of pre-owned vehicles also, be sure to ask your salesperson!</strong></span><br><span class="c4"><br><span class="c15"><strong>If you are able to, please print a copy of your email before you visit. We find it is a much more pleasant experience for our customers to deal with the salesperson who is already familiar with your wants and needs. Also any pricing discussed is only valid through the internet department.</strong></span></span><span class="c7"><strong> <br></strong></span></span><span class="c4"><br>Should this vehicle not meet your needs, please let me know. I would be happy to assist you on a different vehicle, and get you the best possible deal.</span></span></span></p> If you continue to switch back forth between design view and code view, it will continue to add span tags. I have tried setting FCKConfig.FormatSource = false ; FCKConfig.FormatOutput = false ; and adding span as a protectedtag to no avail. We are spending many hours trying to tidy up the html only to have modified again and agaom/

Change History (1)

comment:1 Changed 13 years ago by Jakub Ś

Keywords: multiple span tags removed
Resolution: invalid
Status: newclosed

FCKeditor was retired and is no longer supported. All active development was moved to its predecessor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible since this issue is no longer a problem in current code base.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy