From 164b989ee0e92922fa031e870836a30d1a7cc39c Mon Sep 17 00:00:00 2001 From: "mozilla%colinogilvie.co.uk" <> Date: Fri, 4 Apr 2008 11:47:38 +0000 Subject: Bug 232378: switch from entities to XIncludes for inclusion of modular docs files Patch by Colin Ogilvie ; r=vladd --- docs/en/xml/customization.xml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'docs/en/xml/customization.xml') diff --git a/docs/en/xml/customization.xml b/docs/en/xml/customization.xml index 1eef16673..b677ce804 100644 --- a/docs/en/xml/customization.xml +++ b/docs/en/xml/customization.xml @@ -1,4 +1,10 @@ - + + + %myents; +]> + Customising Bugzilla @@ -153,7 +159,7 @@ to properly HTML filter data that has been passed into the template. This means that if the data can possibly contain special HTML characters such as <, and the data was not intended to be HTML, they need to be - converted to entity form, ie &lt;. You use the 'html' filter in the + converted to entity form, i.e. &lt;. You use the 'html' filter in the Template Toolkit to do this. If you forget, you may open up your installation to cross-site scripting attacks. @@ -162,7 +168,7 @@ Also note that Bugzilla adds a few filters of its own, that are not in standard Template Toolkit. In particular, the 'url_quote' filter can convert characters that are illegal or have special meaning in URLs, - such as &, to the encoded form, ie %26. This actually encodes most + such as &, to the encoded form, i.e. %26. This actually encodes most characters (but not the common ones such as letters and numbers and so on), including the HTML-special characters, so there's never a need to HTML filter afterwards. @@ -202,7 +208,7 @@ To see if a CGI supports multiple output formats and types, grep the - CGI for GetFormat. If it's not present, adding + CGI for get_format. If it's not present, adding multiple format/type support isn't too hard - see how it's done in other CGIs, e.g. config.cgi. @@ -1093,8 +1099,8 @@ this. But you need to know this stuff anyway, right? - - &integration; + + -- cgit v1.2.3-24-g4f1b