We are using the most recent of Zgen Daath knowledge base which uses FCKeditor version 2.4. We've been using it for several months without running into any issues.
The one we ran into today may be of interest. We use the knowledge base internally to record errors from the products we support, along with possible solutions. Often we paste entire error messages into articles to facilitate searches.
We discovered today quite by accident that curious things happen when the text pasted into the editor contains three pipe symbols (vertical bars) in a row. I won't reproduce the string here because I suspect I'm writing this in FCKeditor.
The text is accepted, and displays correctly when the article is viewed, but when one tries to re-edit the article, the text loads into the editor only up to the character before the three pipes. (The rest of the article is displayed as if it were HTML, which creates a mess, but I don't think that part is directly related to FCKeditor.)
The text in question also contains many single pipes surrounded by alpha characters, incidence of an alpha followed by two pipes in a row followed by an alpha, and one place where it has pipe -- space -- pipe -- space -- pipe, and none of these cause a problem. It's specifically three pipes in a row which triggers the problem.
Fortunately, this has only happened once in over 900 articles, and I was able to fix it with a mysql replace command. But I'm curious, and a little worried that this might happen again when I'm not around to fix it.
My question: Do three pipes in a row have any special significance to the FCK code? If so, is there any solution besides the workaround I used? Thanks very much.
Sat, 05/09/2009 - 02:54
#1
Re: editor chokes on triple pipes (vertical bars)
I've never seen anything special related to the pipes. You can check for yourself here: http://www.fckeditor.net/demo
It might be some bug in that version (2.4 is quite old), or the integration in your system, but it doesn't looks like a bug in FCKeditor.