>>> a = '<tr><td>&lt;b&gt;Note from 14.10.2008 23:02:59&lt;b&gt;&lt;br
/>&gt;</td></tr>'
"<tr><td>&lt;b&gt;Note from 14.10.2008 23:02:59&lt;b&gt;&lt;br
/>&gt;</td></tr>"
>>> a.unescapeHTML()
"<b>Note from 14.10.2008 23:02:59<b><br />>"

because of this, I guess

@buda
I think that you will have to use some regex on those

Gabriel Gilini

www.usosim.com.br
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On Wed, Oct 15, 2008 at 1:35 PM, kangax <[EMAIL PROTECTED]> wrote:

>
> On Oct 15, 6:23 am, buda <[EMAIL PROTECTED]> wrote:
> > How to unescape HTML tags if they are as part of valid HTML string?
>
> I'm not sure I understand. Why can't you apply `unescapeHTML`? Do you
> need to strip certain tags?
>
> --
> kangax
>
> [snip]
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to