[Koha-devel] Quoting in templates

Owen Leonard oleonard at athenscounty.lib.oh.us
Wed Jan 22 14:57:03 CET 2003


I'm going through the default [English] templates looking for things to clean 
up, and I'm finding a variety of ways of handling quoting.  For example:

<a
href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR 
NAME="biblionumber">&type=intra><TMPL_VAR NAME="title">(<TMPL_VAR 
NAME="author">)</a>

I'm assuming that the href= value isn't double-quoted because TMPL_VAR NAME is. 
 This won't validate, nor will instances where single quotes are used 
(href='').  Is this really necessary?  Isn't Perl looking for the <TMPL...> 
blocks and ignoring the HTML around it?

  -- Owen




More information about the Koha-devel mailing list