diff options
-rw-r--r-- | langs.inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/langs.inc.php b/langs.inc.php index a7e805c1a..9055f44e9 100644 --- a/langs.inc.php +++ b/langs.inc.php @@ -199,7 +199,10 @@ function _h($s, $args = null, $tag = 'p') { if (is_array($args)) $s = vsprintf(_t($s), $args); - echo sprintf('<%s>%s</%s>', $tag, _t($s), $tag); + $close_tag = explode(' ', $tag); + $close_tag = array_shift($close_tag); + + echo sprintf('<%s>%s</%s>', $tag, _t($s), $close_tag); } /** |