summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.class4
1 files changed, 4 insertions, 0 deletions
diff --git a/html.class b/html.class
index 73937fa..0551f78 100644
--- a/html.class
+++ b/html.class
@@ -490,6 +490,10 @@ function head($args = array())
$langvar = $this->_htmltype == "xhtml-mobile" ? "xml:lang" : "lang";
$prefix = $GLOBALS['SENT_PREAMBLE'] ? "" : $p['doctype'] . "\n<html $langvar=\"" . it_html::Q($p['lang']) . "\"><head>";
+ # override use_it_state property
+ if (isset($p['use_it_state']))
+ $this->_use_it_state = $p['use_it_state'];
+
$js = "";
if ($p['jsenv'])