[ic] Quoting problems

Daniel Davenport ddavenport at newagedigital.com
Wed Jun 2 14:14:08 EDT 2004

> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org
> [ mailto:interchange-users-bounces at icdevgroup.org ]On Behalf Of Mike Heins
> Sent: Monday, May 24, 2004 4:29 PM
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] Quoting problems
> Quoting Daniel Davenport (ddavenport at newagedigital.com):
> > A customer of ours sells items with different heights, widths,
> etc.  They
> > specify the heights and widths with ' (for feet) and "
> (inches).  However,
> > as you can imagine, these two characters horribly mess up the ITL tags,
> > select boxes, and some of the javascript code.
> >
> > I've tried setting an htmlentities filter for options in the
> > meta editor,
> > but that only escapes the ".  And of course, an option ends up
> > going in as
> > 36" instead of 36" .  If the options get edited again, it
> > ends up being
> > 36" .  That won't work.
> >
> > So how do i let people put ' and " in without breaking their products?
> You should be able to input those in the database without troubles.
> The key is to filter the output so that it covers all contingencies.

One of the problems i'm having right now is in the matrix options editor in
interchange itself.  Apparently the options go into the database OK, but in
the item options/variants page, interchange spits out what appears to be
parts of an ITL accessories tag.  I don't know enough about the innards of
interchange to go around changing the built-in tags, let alone editing stuff
just to see what works...so the problem seems bigger than it probably is.

> Interchange provides the
> 	[jsq]Some funky quoted string's
>              with "stuff" in them[/jsq]
> tag for quoting javascript. It produces:
> 	"Some funky quoted string's" + ' with "stuff" in them'

i love how that's not in the tags reference....
what's the point of having a reference when stuff that really should be in
it, isn't?

> In other situations you can use [filter entities].
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 5/18/2004

More information about the interchange-users mailing list