I'm using the JS version of FCKeditor (v 2.1.1). The editor replaces a textarea field on a webpage.
Scenario:
1) I write the following text into FCKeditor:
"<b>test</b>"
2) I click submit, the text is viewed on a preview page as:
"<b>test</b>"
(The tags '<' and '>' are replaced with '<' and '>' in the source which is fine. The text is encoded, using the HTMLEncode function in FCKeditor.)
3) I go back into FCKeditor to edit the text again, however now the text is showed as
"test"
where "test" is written in BOLD!
The HTML code has been activated (the '<b>' and '</b>' tags have been activated, but they should be presented as text.)
Anyone have an idea why text code seems to be Decoded back into HTML and activated when it's displayed in FCKeditor?
Scenario:
1) I write the following text into FCKeditor:
"<b>test</b>"
2) I click submit, the text is viewed on a preview page as:
"<b>test</b>"
(The tags '<' and '>' are replaced with '<' and '>' in the source which is fine. The text is encoded, using the HTMLEncode function in FCKeditor.)
3) I go back into FCKeditor to edit the text again, however now the text is showed as
"test"
where "test" is written in BOLD!
The HTML code has been activated (the '<b>' and '</b>' tags have been activated, but they should be presented as text.)
Anyone have an idea why text code seems to be Decoded back into HTML and activated when it's displayed in FCKeditor?

A hack to fix this...
-- replace into different characters to avoid FCKeditor interpreting them as HTML
v_html := replace(v_html, '<', '‹');
v_html := replace(v_html, '>', '›');
However this is a hack, and I would to not having to change the input text...
So if anyone know how this can be done in FCKeditor (I feel like writing KFC all the time) please let me know...