[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: recent_list.wml and double quotes in titles



On Thu, Mar 18, 1999 at 01:02:00PM +0100, Matej Vela wrote:
> recent_list.wml doesn't parse escaped double quotes in news titles
> properly (e. g. take a look at <http://www.debian.org/News/1997/> and
> you'll see `\"' in some titles).  Instead of adding another kludge, I
> suggest modifying basic.wml to remove the need for escaping in
> page titles:
> 
I won't have time to check this out Saturday, so I'll quickly explain
the rationale.

As you've noticed, titles are used in two different ways: in recent_list
(recent_news was superceded by recent_list and no longer used) and
for the titles of individual pages. recent_list was modified to use
qq// because wml was dying on the Japanese pages. Multi-byte charsets
can have strings that appear as '$' and '"' in the ascii world so cause
lots of problems if you aren't careful (especially in perl). I knew
at the time the change was made that this would cause some cosmetic
problems.

Thus, I'd like to leave the qq// in recent_list and modify the other
template files to be more careful in handling titles. We can then remove
any backslash from titles without causing problems.

If you have an alternate solution that accomplishes the same thing
that is fine.

Jay Treacy


Reply to: