From 19b3bda9736c55aab82f70bbe47a3e0a42e527a1 Mon Sep 17 00:00:00 2001 From: Florian Date: Sat, 9 May 2015 16:09:23 +0200 Subject: [PATCH] Don't output an empty h1 element Bug: T97891 Change-Id: Iad1fec58773e42b66030bff505113e43e66e807f --- VectorTemplate.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VectorTemplate.php b/VectorTemplate.php index 1437fa6b5..fbf1efebf 100644 --- a/VectorTemplate.php +++ b/VectorTemplate.php @@ -106,12 +106,14 @@ class VectorTemplate extends BaseTemplate { if ( is_callable( array( $this, 'getIndicators' ) ) ) { echo $this->getIndicators(); } + if ( !empty( $this->data['title'] ) ) { ?>

html( 'title' ) ?>

+ html( 'prebodyhtml' ) ?>