#1905: POSTed data sometimes HTML encoded sometimes not
---------------------------------+------------------------------------------
  Reporter:  Kyle                |       Owner:        
      Type:  Bug                 |      Status:  closed
  Priority:  Normal              |   Milestone:        
 Component:  Core : Output Data  |     Version:  SVN   
Resolution:  invalid             |    Keywords:        
---------------------------------+------------------------------------------
Comment (by fredck):

 Kyle, I'm sure you are aware about the HTML specifications, so you should
 instruct your users so they will understand how things work. If they are
 unable to understand that &lt; is the HTML way to render < in the screen,
 then it is better to not give them access to the Source view.

 Also, a textarea is used to output "plain text". FCKeditor is used to
 output HTML.

 The simple example if typing "<b>" in both cases explain the difference.
 With a textarea system you may save that value as plain "<b>", taking case
 of HTML enconding it when injecting it in a page, so you transform it in
 HTML: "&lt;b&gt;".

 FCKeditor instead already outputs HTML. So, if you type "<b>" in the
 WYSIWYG view, you save it as "&lt;b&gt;" automatically, so you don't need
 to HTML encode it to inject it in a page.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1905#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to