From e5bef1ca2d3391b12483922e180d86cff991e854 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 24 Oct 2012 12:33:51 +0000 Subject: better handle unexported funcs in subclasses --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_html.class b/it_html.class index 07199c6..65e7e2a 100644 --- a/it_html.class +++ b/it_html.class @@ -67,6 +67,7 @@ class it_html function it_html($p = array()) { # Default configuration of html class + $this->p['notexported'] = trim($p['notexported'] . ',configure,sanitize', ','); $this->p = $p + array( 'charset' => ini_get('default_charset') ?: 'iso-8859-1', 'doctype' => null, # Custom doctype (will usually be calculated from htmltype) @@ -78,7 +79,6 @@ function it_html($p = array()) 'name' => 'it_html', # Name of global variable $this is assigned to (string), XXX Copy and paste in configure() to keep PHP4 compatibility 'nonewlinetags' => 'a,b,em,img,input,label,span,noscript', # tags that do not like newlines after them 'alwaysclosetags' => 'a,div,iframe,pre,script,span,tbody,td,tfoot,thead,textarea', # tags which always get a close tag - 'notexported' => 'configure,sanitize',# Those methods are not exported 'prettyprint' => it::is_devel(), # Should output be prettily indented? 'show_boot_dom' => false, # If true, append invisible
at the end of body 'show_content_type' => true, # If true, add header -- cgit v1.2.3