Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2011-05-11 02:34:10

droh
New member
Registered: 2011-05-11
Posts: 2

Help xinha converts "<'some text'> to tags when inserting to editor...

Hi,

im new to xinha and i have this problem. i have no idea how to solve this.

i want to insert some text to xinha editor for example "this is a test to insert to <the editor>".

i use insertHTML() to insert it to editor but when the editor display the text, it only shows this is a "test to insert to" the "<the editor>" is missing i think the editor is taking it as an invalid html tag.

how can i solve this that it would show the full text "this is a test to insert to <the editor>" in the editor?


thanks

noob. smile

Offline

#2 2011-05-11 22:42:23

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Help xinha converts "<'some text'> to tags when inserting to editor...

The clue is in the method name, "insertHTML", is what you are inserting valid HTML, no it is not.

Valid HTML would be "this is a test to insert to <the editor>"


James Sleeman

Offline

#3 2011-05-15 22:13:41

droh
New member
Registered: 2011-05-11
Posts: 2

Re: Help xinha converts "<'some text'> to tags when inserting to editor...

cool thanks. it worked.. thanks alot.. smile

Offline

Board footer

Powered by FluxBB