[Proto-Scripty] Re: unescape HTML tags
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 prototype-scriptaculous@googlegroups.com 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 -~--~~~~--~~--~--~---
[Proto-Scripty] Re: unescape HTML tags
a = 'trtdlt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br /gt;/td/tr' trtdlt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br /gt;/td/tr a.unescapeHTML() bNote from 14.10.2008 23:02:59bbr / 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 prototype-scriptaculous@googlegroups.com 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 -~--~~~~--~~--~--~---
[Proto-Scripty] Re: unescape HTML tags
How to unescape HTML tags if they are as part of valid HTML string? On 14 окт, 23:46, buda [EMAIL PROTECTED] wrote: I'm sorry - I forgot to add that this string is a part of HTML string 'trtdlt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br / gt;/td/tr' On 14 окт, 23:41, kangax [EMAIL PROTECTED] wrote: On Oct 14, 4:28 pm, buda [EMAIL PROTECTED] wrote: I have a string - 'lt;bgt;Note from 14.10.2008 23:02:59lt;/ bgt;lt;br /gt;' I need to cobert it to an HTML form - 'bNote from 14.10.2008 23:02:59/bbr /' is it possible accomplish with prototype.js? 'lt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br / gt;'.unescapeHTML(); Thanks -- kangax- Скрыть цитируемый текст - - Показать цитируемый текст - --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com 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 -~--~~~~--~~--~--~---
[Proto-Scripty] Re: unescape HTML tags
I'm sorry - I forgot to add that this string is a part of HTML string 'trtdlt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br / gt;/td/tr' On 14 окт, 23:41, kangax [EMAIL PROTECTED] wrote: On Oct 14, 4:28 pm, buda [EMAIL PROTECTED] wrote: I have a string - 'lt;bgt;Note from 14.10.2008 23:02:59lt;/ bgt;lt;br /gt;' I need to cobert it to an HTML form - 'bNote from 14.10.2008 23:02:59/bbr /' is it possible accomplish with prototype.js? 'lt;bgt;Note from 14.10.2008 23:02:59lt;bgt;lt;br / gt;'.unescapeHTML(); Thanks -- kangax --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com 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 -~--~~~~--~~--~--~---