Re: [OS-JIRA] Created: (WOL-671) WOLips WO html editor really doesn't like javascript...

From: Les Vogel (les..ngeltech.com)
Date: Mon Nov 26 2007 - 01:07:40 EST

  • Next message: Georg Tuparev (JIRA): "[OS-JIRA] Created: (WOL-673) Eclipse forgets Filter settings"

    Sigh - Well, it doesn't always work. Argh! It is just passing ' as
    is, and complaining about '

     onclick="function (v) { $('value').innerHTML = Math.floor(v) }"

    I guess the only way to deal with this is to code this stuff in a way that
    only invokes functions w/o '', that's going to be fun.

    On 11/25/07, Les Vogel <les..ngeltech.com> wrote:
    >
    > yes - it works.
    >
    > On 11/25/07, Mike Schrag <mschra..dimension.com> wrote:
    > >
    > > I was afraid of that ... So in spite of the error I report during
    > > validation, does just using a regular apostrophe work fine? If so,
    > > I'll just remove the error, because it would seem to be overly
    > > aggressive.
    > >
    > > ms
    > >
    > > On Nov 25, 2007, at 9:40 PM, Brendan Duddridge wrote:
    > >
    > > > Hi Mike,
    > > >
    > > > Yes, I do have WO 5.4 validation turned on. The problem is, when you
    > > > use &apos; in your javascript, it stays that way when rendered in
    > > > the HTML and of course, that's not valid syntax for quoting in
    > > > javascript.
    > > >
    > > > ____________________________________________________________________
    > > > Brendan Duddridge | CTO | 403-277-5591 x24 | brenda..lickspace.com
    > > >
    > > > ClickSpace Interactive Inc.
    > > > Suite L100, 239 - 10th Ave. SE
    > > > Calgary, AB T2G 0V9
    > > >
    > > > http://www.clickspace.com
    > > >
    > > > On Nov 25, 2007, at 5:57 AM, Mike Schrag wrote:
    > > >
    > > >> I'm guessing you have WO 5.4 validation enabled ... I believe
    > > >> apostrophes in attributes is supposed to be illegal in XML and is
    > > >> supposed to be &apos; . If it turns out that they actually DO parse
    > > >> in the 5.4 parser, then let me know and I'll take out the check for
    > > >> that.
    > > >>
    > > >> ms
    > > >>
    > > >> On Nov 25, 2007, at 4:31 AM, Brendan Duddridge wrote:
    > > >>
    > > >>> I have this problem too in my projects. I've just been ignoring
    > > >>> the errors, but it's still annoying.
    > > >>>
    > > >>> ____________________________________________________________________
    > > >>> Brendan Duddridge | CTO | 403-277-5591 x24 | brenda..lickspace.com
    > >
    > > >>>
    > > >>> ClickSpace Interactive Inc.
    > > >>> Suite L100, 239 - 10th Ave. SE
    > > >>> Calgary, AB T2G 0V9
    > > >>>
    > > >>> http://www.clickspace.com
    > > >>
    > > >>
    > > >>
    > > >
    > >
    > >
    > >
    >
    >
    > --
    > Les Vogel
    > 808 870-0418

    -- 
    Les Vogel
    808 870-0418
    



    This archive was generated by hypermail 2.0.0 : Mon Nov 26 2007 - 01:08:36 EST