Re: [Templates] html quoting

[prev] [thread] [next] [Date index for 2005/05/27]

From: Josh Rosenbaum
Subject: Re: [Templates] html quoting
Date: 22:15 on 27 May 2005
Hi Steve,

I don't have experience with your particular problem, however, a common fix for "named" symbols is to use their numeric equivalent.

If you look up something like "times html entities" on google you should be able to find the numeric equivalent and maybe fix your problem.

I believe the ones for times is:
×

I got that from here:
http://www.w3.org/TR/REC-html40/sgml/entities.html
or for a nicer table:
http://www.htmlcodetutorial.com/characterentities_famsupp_69.html

-- Josh

Steve Kelem wrote:
> I'm building web pages with TT.  Something in the tool chain seems to 
> know what & and < are, but not what the math symbols like × 
> are.
> My source has text like:
> 
> This is an ampersand: &.
> After being processed by ttree, it turns into:
> This is an ampersand: &.
> 
> However, if I write:
> This is a times symbol: ×.
> I get the message:
>  ! undef error -
> undefined entity at line 13, column 38, byte 370:
> This is a times symbol: ×.
> ===============^
> 
> If I write:
> This is a times symbol ×.
> Then the generated html file contains:
> This is a times symbol ×.
> 
> Any idea which tool needs to be updated?
> 
> Thanks,
> Steve
> 
> _______________________________________________
> templates mailing list
> templates@xxxxxxxxxxxxxxxx.xxx
> http://lists.template-toolkit.org/mailman/listinfo/templates



_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] html quoting
Steve Kelem 21:56 on 27 May 2005

Re: [Templates] html quoting
Josh Rosenbaum 22:15 on 27 May 2005

Re: [Templates] html quoting
Kenneth Ekdahl 07:06 on 28 May 2005

Re: [Templates] html quoting
Josh Rosenbaum 18:27 on 28 May 2005

Re: [Templates] html quoting
Dave Cross 06:27 on 28 May 2005

Generated at 20:13 on 05 Jun 2005 by mariachi v0.52