cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject RE: HTML Formatter problem
Date Sat, 26 Aug 2000 11:37:28 GMT
At 09:38 -0400 25/08/00, Vadim Gritsenko wrote:
>> >yeah - patch the HTMLFormatter to allow unescaped XML inside textareas
>> >that have some magic attribute. not a very elegant solution, but i can
>> >think of worse things
>
>Jeremy, If you want just to output XML/HTML/... inside <textarea>,
>why don't you just replace '<' and '>' with '&lt;' and '&gt;' :
>
><textarea name="blah">
>	&lt;li&gt;List Item&lt;/li&gt;
></textarea>
>
>Or is there any other problems with this?

I did not try this, because I did not know if it would convert back to XML
again properly by just parsing it. I really should have tried this before
bugging people !


regards jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>

Mime
View raw message