#2595: getHTML, getXHTML & getData adds HTML code tht isn't there
----------------------------------------+-----------------------------------
Reporter: logictrap | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: FCKeditor 2.6.3
Keywords: getData, getHTML, getXHTML |
----------------------------------------+-----------------------------------
If the editor is set with full=true, the get* methods return data that
includes additional html tags such as <html> & <body> even if they are not
present in the editor.
This seems like a bug as I assume these commands only return what is
actually in the editor formatted to HTML or XHTML but does nt add tags
that are not there. I assume getData provides no formatting.
To test this I created a field that contains only a <div> tag. Then called
getData. getData added <html> & <body> tags to the <div>. If I set
FULL=FALSE it returns only the <div> section.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2595>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac