Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | ); |
67 | 67 | |
68 | 68 | class ExtMobileFrontend { |
69 | | - const VERSION = '0.5.60'; |
| 69 | + const VERSION = '0.5.61'; |
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @var DOMDocument |
— | — | @@ -770,8 +770,11 @@ |
771 | 771 | if ( !in_array( $id, $commonAttributes ) ) { |
772 | 772 | $elementTitle = $element->hasAttribute( 'title' ) ? $element->getAttribute( 'title' ) : ''; |
773 | 773 | $h2UnknownMobileSection = $this->mainPage->createElement( 'h2', $elementTitle ); |
| 774 | + $br = $this->mainPage->createElement( 'br' ); |
| 775 | + $br->setAttribute( 'CLEAR', 'ALL' ); |
774 | 776 | $content->appendChild( $h2UnknownMobileSection ); |
775 | 777 | $content->appendChild( $element ); |
| 778 | + $content->appendChild( $br ); |
776 | 779 | } |
777 | 780 | } |
778 | 781 | } |