You are viewing a read-only archive of the Blogs.Harvard network. Learn more.
LDS site bugtracker » Blog Archive » “Plain text” HTML editor seems to cause problems

LDS site bugtracker

document bugs, float ideas, and monitor status of LDS site issues

“Plain text” HTML editor seems to cause problems

Posted by alcrockett on June 17th, 2008

So far whenever I edit HTML using the “plain text” editor iSites seems to want to translate the angle brackets into their entity values, so that when you go to view the HTML the code is visible.

For example, if I enter this into the editor:

<div><p>hello</p></div>

then when I go to view it I see:

<div><p>hello</p></div>

instead of:

hello

This may be happening because when the user saves the entry, the tool parses the input text as XML instead of plain text? I remember having a similar problem when I tried to roll my own HTML editor.

Anyway, the moral of the story is stay away from the plain text editor, use the regular HTML editor instead.