Re: [Templates] html quoting

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

From: Josh Rosenbaum
Subject: Re: [Templates] html quoting
Date: 18:27 on 28 May 2005
Kenneth Ekdahl wrote:
> On Fri, May 27, 2005 at 04:15:54PM -0600, Josh Rosenbaum wrote:
> 
>>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:
>>×
> 
> 
> Doesn't that break the nice feature of namned entities that you don't
> have to worry about things like utf-8 or iso-8859-1?
> 

--------------------

I think numeric/named entities both work no matter what character set you are using.

BTW: I really only offered that suggestion as a possible quick fix that MIGHT work, so that Steve might be able to continue working while waiting for responses. Steve has since responded to me and let me know that it didn't work for him. I think the response wasn't CC'd to the list so here it is:

> Yes, but then you still have to write ×.  My point is that it should be possible to write all of these entities without quoting the ampersand. If &, >, <, and probably a few others make it through, then all the other codes ought to go through too.


Dave's XML response may be the correct answer to Steve's original question.


-- Josh

_______________________________________________
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