Re: [Hypercontent-users] entities and the HTML Editor
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2006-02-08 17:25:19
|
Hi Scott, This is a tricky problem I've never quite figured out . . . the entities are getting submitted back to the server properly, and you can see if you view source upon the reload of the form that the entities are still encoded. And in fact, if you have a "<" immediately followed by a space, it still shows up fine, but if it is followed by a character, even though it is encoded, the browser parses it as a tag and it disappears. To the best of my understanding at this point it is a browser bug (it occurs in both HTMLArea and TinyMCE, which rely on the underlying browser support). Two workarounds I've used include using screenshots of XML and introducing a space between the open tag and the actual tag name (e.g. < tag . . .). Of course, neither of these supports easy copy-and-paste. This is definitely a good candidate for a Jira issue, perhaps someone can figure out a real solution . . . Alex On Feb 8, 2006, at 11:08 AM, Scott Battaglia wrote: > Alex, > > As part of the CAS web site, we're displaying parts of the Spring > WebFlow XML file to give instructions (http://www.ja-sig.org/ > products/cas/server/certs/index.html). However, if I edit that > page I lose all the "code". It seems to convert the > and < > and then parse them out. Is there a way to disable that? > > Thanks > -Scott > > -- > Scott Battaglia > Application Developer, Architecture & Engineering Team > Enterprise Systems and Services, Rutgers University > v: 732.445.0097 | f: 732.445.5493 | sco...@ru... > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |