Opened 16 years ago
Closed 16 years ago
#2225 closed Bug (duplicate)
Problem with angle brackets
Reported by: | JimNox | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Server : ASP.Net | Version: | FCKeditor 2.6 |
Keywords: | Cc: |
Description
Firstly I use FCKeditor with ASP and it works perfectly. Now I'm attempting to use it with ASP.NET and then I find the problem below.
I want to input some Code in my articles such as
#include <iostream> int main(){ cout << "Opps..." << endl; return 0; }
It works well in the _sample with ASP. The <iostream> will be translated into <iostream>. But when I use it in ASP.NET it becomes
<pre> #include <iostream><br /> int main(){<br /> cout << "Opps..." << endl;<br /> return 0;<br /> }<br /> <br /> </iostream> </pre>
The <iostream> is translated as a tag and it is automatically completed. Of course it's not what I want it to be.
In fact I'm using exactly the default "fckconfig.js" and the simple
<fck:FCKeditor ID="fckEditor" BasePath="Editor/" runat="server" Height="400px" EditorAreaCSS="editorArea" />
to put it onto my ASP.NET page. Now I'm wondering whether the ASP.NET config (like web.config) will affect the FCKeditor. I've written 'validateRequest="false"' in my web.config for all pages.
Thank you.
Jim
Change History (4)
comment:1 Changed 16 years ago by
Keywords: | WorksForMe added |
---|---|
Milestone: | FCKeditor 2.6.1 |
Resolution: | → worksforme |
Status: | new → closed |
comment:2 Changed 16 years ago by
The bug report is about asp.net, so this is indeed a dup of #1908, that is fixed for the next release.
comment:3 Changed 16 years ago by
Keywords: | WorksForMe removed |
---|---|
Resolution: | worksforme |
Status: | closed → reopened |
comment:4 Changed 16 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Confirmed. DUP of #1908.
I didn't encounter any problems with the code that you have provided. In my case (both in IE and FF) the output code was:
which is the expected output. Be sure to insert the code in Normal View not in Source View and than everything should work as expected.