Extra tags appearing in code

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/29/2011 3:39:05 PM
Gravatar
Total Posts 23

Extra tags appearing in code

2.3.7.0 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust

Also important(?), I am running Firefox 8.0 with Fiddler and Firebug pluggins, Chrome 15, and IE 9.

When I edit HTML Content sections of my site, extra tags appear when I click in the edit window, or when I click to and back from editing source code. For example, the source code originally might look like this:
 

<h4>People find new site helpful, awesome</h4>

Reasons why new site is so popular:

<ul>

<li>More colorful</li>

<li>Better navigation</li>

<li>A bunch of other reasons</li>

</ul>

 

YET....

When I click to edit content, or if I click to look at source code, and then go back, this is how it automatically looks:
 

<h4>People find new site helpful,</h4>

<h4>awesome</h4>

Reasons why new site is so popular:

<ul>

<li>More colorful</li>

<li>Better</li>

<li>navigation</li>

<li>A bunch of </li>

<li>other</li>

<li>reasons</li>

</ul>

 

Here's where it gets fun. I am the only person in our organization who is having this issue, and I am only having the problem with certain browsers (Firefox and Chrome, IE works fine). Lists, headers, and links have all done this splitting thing. Div tags have not. Please help!!!

11/30/2011 10:12:56 AM
Gravatar
Total Posts 18439

Re: Extra tags appearing in code

Hi,

I have occasionally experienced this anomaly myself when editing in Chrome with CKeditor. There isn't really anything I can do solve problems with the editors, we rely on the developers of CKeditor and TinyMCE to fix problems. They each have their quirks. I think building the equivalent of a word processor in javascript and keeping up with all the changes in browsers and web standards is a very challenging task so I have huge respect for those developers even though the editors are never quite perfect. Especially now with the way Chrome and Firefox are constantly releasing new versions and automatically updating to them, it seems almost impossible for them to keep up with changes in the browser behavior. I've only noticed this problem recently and suspect it is due to changes in Chrome that have happened after the latest release of Ckeditor.

Your options are:

Hope that helps,

Joe

12/1/2011 3:50:50 AM
Gravatar
Total Posts 133
J

Re: Extra tags appearing in code

If you put that line of text between the H4 heading and the UL into a <P> or <div> the editor will leave it alone - 

J

12/1/2011 8:55:56 AM
Gravatar
Total Posts 18439

Re: Extra tags appearing in code

Shouldn't have to do that though. I just switched this site to TinyMCE because CKeditor is really causing me lots of problems in Chrome now. I conclude that an update to Chrome changed something because I've been using this version of CKeditor (the latest version 3.6.2) for quite a while and this problem just started happening recently for me. Probably little hacks they had to do previously to make it work right in Chrome are not needed anymore and now causing problems. Hopefully there will be a new release of CKditor soon with a fix for this.

You must sign in to post in the forums. This thread is closed to new posts.