Opened 14 years ago

Closed 14 years ago

#5019 closed Bug (invalid)

Unintended tag generation

Reported by: medifirst Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Pending Cc:

Description

When rendering text like that

<blablabla

it gives nothing and the html source code is :

<p>
	<blablabla></blablabla></p>

Change History (3)

comment:1 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Keywords: Pending added; edition transformation removed
Milestone: CKEditor 3.2

Please, provide the steps to reproduce the problem. It works fine for me, I type <blablabla and when I switch to source I see

<p>
	&lt;blablabla</p>

comment:2 in reply to:  1 Changed 14 years ago by medifirst

Replying to alfonsoml:

Please, provide the steps to reproduce the problem. It works fine for me, I type <blablabla and when I switch to source I see

<p>
	&lt;blablabla</p>

Sorry.

It happens when charging the CKEditor (ie from a textarea element) containing the previous text

comment:3 Changed 14 years ago by Frederico Caldeira Knabben

Resolution: invalid
Status: newclosed

Please note that CKEditor can be used to replace textareas, but you must also consider that CKEditor produces HTML, so it expects existing textarea to contain HTML as well. So, you are in effect inputing malformed and invalid HTML into the editor.

If you're introducing the editor into a system which was used to handle only plain text, you must first convert your data to HTML and then you will be really ready to go.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy