stas 2002/06/25 10:09:56
Modified: tmpl/custom/html headers
Log:
don't do uri encoding on <meta name=""> tags, we only need to protect from
< > and ".
Revision Changes Path
1.6 +2 -2 modperl-docs/tmpl/custom/html/headers
Index: headers
===================================================================
RCS file: /home/cvs/modperl-docs/tmpl/custom/html/headers,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- headers 16 Jun 2002 13:44:50 -0000 1.5
+++ headers 25 Jun 2002 17:09:55 -0000 1.6
@@ -19,13 +19,13 @@
-%]
[%- " $l\n" FOREACH l = [ doc.headers.link, default_headers.link ] -%]
- <meta name="description" content="mod_perl documentation: [%
abstract | uri | html %]">
+ <meta name="description" content="mod_perl documentation: [%
abstract | html %]">
[%- FOREACH m = ["name", "http-equiv"];
SET merge = {};
merge.import(default_headers.meta.$m); # deep copy
merge.import(doc.headers.meta.$m); # merge
FOREACH key = merge.keys; %]
- <meta [% m %]="[% key %]" content="[% merge.$key | uri | html %]">
+ <meta [% m %]="[% key %]" content="[% merge.$key | html %]">
[%- END;
END -%]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]