in reply to Re: HTML Problem getting entities into a textarea
in thread HTML Problem getting entities into a textarea
See my above note on this idea. The problem is that I want folks to be able to create a technote (in a textread form) that contains any html tag, and save it exactly as typed, and then have them be able to edit that exact text again later, without some of those tag being interpreted as tags for the page instead of text in the textarea. If I modify the content like that, then a user types in one thing and ends up editing another.
Then again, if I told folks not to escape, and I escaped for them before saving the file, then that just might work... then any tags would be saves with escapes, and displayed as text and not interpreted. The only problem with this is if you type, say, <pre> </pre> inside a textarea - that doesn't get interpreted, so I would be escaping things that don't need it, but I suppose that might be alright.
Actually, that get ugly, because, then all of the tags that I am telling people to use to format the text of the technote will now not be tags that format the text when displayed later in a table, they will show as text, unless I unescape all before displaying to the table.
That get's messy, but it may be the only way...
Any other ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: HTML Problem getting entities into a textarea
by dws (Chancellor) on Apr 18, 2003 at 22:26 UTC |