FCKEditor 2.6 fixed issue with pre tagsFCKEditor 2.6 fixed issue with pre tags

Posted May 31st, 2008 in Applications

I use FCKEditor in the admin section of my blog to write posts. I was using the 2.5 beta version (build 16848) and whenever I put <pre> tags into my pages for showing HTML/JS/PHP/etc code followed by e.g. a <div> tag, it would keep converting the HTML entities back from &lt;div&gt; to <div> which caused all sorts of issues.

What is FCKEditor?

FCKEditor is a WYSIWYG Javascript based HTML editor which you can use to edit HTML in a web browser.

Upgrading fixed the issue

I was getting annoyed with this problem, because it kept meaning if I needed to post HTML examples which started with an HTML tag I would need to put some other text in the <pre> section first otherwise the HTML entities for < and > would be removed from the first tag.

I knew there had been an update recently (and also wasn't aware until I wrote this post that I was using a beta version of 2.5 and not the final release) so decided to try that out and see if it fixed the problem.

I installed FCKEditor 2.6 (build 18638) and the problem has been fixed since the version I had installed previously.

Thanks for all of the people who work on FCKEditor and for ironing out bugs like this. Your work is much appreciated and, as I discovered, it pays to keep up to date with new releases.

Recent posts: