From e649b1a12fe4b43063753e482a47fcda0cbeb9d7 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 26 Apr 2018 18:32:07 +0200 Subject: Use different global object for htmltype xml to allow mixing xml/html5 generation --- it_html.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'it_html.class') diff --git a/it_html.class b/it_html.class index 58e0b84..e410816 100644 --- a/it_html.class +++ b/it_html.class @@ -76,7 +76,7 @@ function __construct($p = array()) 'htmltype' => 'html5', # 'html5', 'html' (=old-style), 'xhtml' or 'xhtml-mobile' for xhtml, or 'xml' for plain xml without magic 'lang' => 'de', # Language code to use in tag 'moretags' => '', # Comma-separated list of tag-functions to generate additionally to 'tags' - 'name' => 'it_html', # Name of global variable $this is assigned to (string), XXX Copy and paste in configure() to keep PHP4 compatibility + 'name' => $p['htmltype'] == 'xml' ? 'it_html_xml' : 'it_html', # Name of global variable $this is assigned to (string), XXX Copy and paste in configure() 'nonewlinetags' => 'a,b,em,img,input,label,span,noscript', # tags that do not like newlines after them 'prettyprint' => it::is_devel(), # Should output be prettily indented? 'show_boot_dom' => false, # If true, append invisible