Remove space from the begin and the end of the heading
authorFomafix <fomafix@googlemail.com>
Sun, 5 Oct 2014 08:46:45 +0000 (08:46 +0000)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 10 Oct 2014 15:20:10 +0000 (15:20 +0000)
Whitespaces between the opening tag <h1> and the content and
between the content and the closing tag </h1> gets converted to a space
when selecting the heading by a triple click and copying it to clipboard

See Ic9887a079734b28155f46ffaeedec02ff8ad81ca for skin Vector.

Change-Id: If90928b5f66dc10e3e8024e31d96be25462e446c

includes/skins/SkinFallbackTemplate.php

index 603ee5c..ea94fad 100644 (file)
@@ -91,9 +91,7 @@ class SkinFallbackTemplate extends BaseTemplate {
                </form>
 
                <div class="mw-body" role="main">
-                       <h1 class="firstHeading">
-                               <span dir="auto"><?php $this->html( 'title' ) ?></span>
-                       </h1>
+                       <h1 class="firstHeading"><span dir="auto"><?php $this->html( 'title' ) ?></span></h1>
 
                        <div class="mw-body-content">
                                <?php $this->html( 'bodytext' ) ?>