diff --git a/docs/en/programmers/advanced-features/advanced-features-postfilters.xml b/docs/en/programmers/advanced-features/advanced-features-postfilters.xml index 2992f8f3..30405c13 100644 --- a/docs/en/programmers/advanced-features/advanced-features-postfilters.xml +++ b/docs/en/programmers/advanced-features/advanced-features-postfilters.xml @@ -4,7 +4,7 @@ Postfilters Template postfilters are PHP functions that your templates are ran through - after they are compiled. Postfilters can be either + after they are compiled. Postfilters can be either registered or loaded from the plugins directory by using load_filter() function or by @@ -22,7 +22,7 @@ // put this in your application function add_header_comment($tpl_source, &$smarty) { - return ";\n\" ?>;\n".$tpl_source; + return "\n\"; ?>\n".$tpl_source; } // register the postfilter