Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: 'ML problem with literal quotation marks

From: bry:itnisk at: 16-Oct-2003 11:42

one not very happy solution would be the usage of " if ML (hard to remember) allows the passage of entities.
> * Andrew Martin
<[andrew--martin--colenso--school--nz]> [031015 17:31]:
> > > > Hi, Tim. > > > Cc: [Al--Bri--xtra--co--nz] > > > > That email address no longer exists! > > > > Try one of these: > > [AJMartin--orcon--net--nz] > > [Rebol--orcon--net--nz] > > Or at work: > >
[Andrew--Martin--colenso--school--nz]
> Sorry! Used the one from ML.r. Will
change.
> > Tim wrote: > > > <html> > > > <body><input type="text"
name="testing" value=""boo-boo"" />
> > > </body></html> > > > > > > The content as viewed in the browser
does not show {"boo-boo"} (with
> > or without the literal quotes) > > > > That's because the browser interprets
the "input" tag like this:
> > input type="text"
name="testing" value=""
> > In other words, the "value" attribute is
an empty string, which is why
> > the browser doesn't show {"boo-boo"}. > > I understand... > > > There's also a fault in my ML dialect,
as I never considered that people
> > might want to display text with double
quote marks. My ML dialect (or
> > maybe Build-Tag dialect) should check
every string! attribute value and
> > 'escape' any double quote marks inside
(so that people don't have to
> > worry about this. > > I would prefer that people didn't use
them. Currently what I'm doing
> is just eliminating them, however, sooner
or later some user is going
> to insist on it. > > Let me know when you have a solution. > thanks > tim > > > Andrew J Martin > > Attendance Officer > > & Grail Jedi. > > Chief boo-boo maker! > > Colenso High School > > Arnold Street, Napier. > > Tel: 64-6-8310180 ext 826 > > Fax: 64-6-8336759 > > http://colenso.net/scripts/Wiki.r?AJM > > http://www.colenso.school.nz/ > > > > DISCLAIMER: Colenso High School and its
Board of Trustees is not responsible (or legally
> > liable) for materials distributed to or
acquired from user e-mail accounts. You can report any
> > misuse of an e-mail account to our ICT
Manager and the complaint will be investigated.
> > (Misuse can come in many forms, but can
be viewed as any material sent/received that
> > indicate or suggest pornography,
unethical or illegal solicitation, racism, sexism, inappropriate
> > language and/or other issues described
in our Acceptable Use Policy.)
> > > > All outgoing messages are certified
virus-free by McAfee GroupShield Exchange 5.10.285.0
> > Phone: +64 6 843 5095 or Fax: +64 6
833 6759 or E-mail: [postmaster--colenso--school--nz]