From 61f720ab753cff5e2ab2f17725395bfe3705656a Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 13 May 2024 16:36:23 +0200 Subject: be compatible with _tag --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_html.class b/it_html.class index 012e88c..4cd34ee 100644 --- a/it_html.class +++ b/it_html.class @@ -165,7 +165,7 @@ function html($args) $p += $this->p; foreach (array('class', 'manifest') as $attr) - $attrs .= $p[$attr] ? " $attr=" . '"' . htmlspecialchars($p[$attr]) . '"' : ""; + $attrs .= $p[$attr] ? " $attr=" . '"' . htmlspecialchars($p[$attr], ENT_COMPAT, $GLOBALS['it_html']->p['charset']) . '"' : ""; $html = ($p['doctype'] ? $p['doctype'] : $this->doctypes[$p['htmltype']]) . "\n" . '\n" . $data . ($p['omit_endhtml'] ? '' : "\n"); -- cgit v1.2.3