Opened 4 years ago

Closed 4 years ago

#13959 closed Bug (invalid)

CKEDITOR Data drops after <

Reported by: Rahul Bhole Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Case 1: if text passing to textarea is = text1+'<'+text2. then ckeditor drops text2 if there is no space after '<'. Case 2 : if text passing to textarea is : text1+'<'+text2+'>'+text3 then text shown in ckeditor is :text1+text3 (omits text between <>)

Note: All these when there is no space around < or > .

eg. xyz<abc ,aaaa<ddd

Steps to reproduce

  1. Goto http://ckeditor.com/demo , click on source button of standard editor.
  2. put any example string mentioned above(say xyz<abc) and toggle back to ckeditor(click on source button again )
  3. Ckeditor will display xyz

Expected result == CKEditor should display xyz<abc

Actual result == CKEditor display xyz

Other details (browser, OS, CKEditor version, installed plugins) == N/A

Note: If we put SPACE after < then everything will be fine. Question: If you can give me solution earlier that will be great , although is it ok to alter the source code to to handle this issue from our side?

Change History (1)

comment:1 Changed 4 years ago by Jakub Ś

Keywords: Urgent removed
Resolution: invalid
Status: newclosed
Version: 4.5.4

This doesn't happen when you paste such text into editor. It only happens when you provide such source.

Please note that any source should be encoded first, so instead of xyz<abc ,aaaa<ddd you should provide xyz&lt;abc ,aaaa&lt;ddd

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy