Removed raw HTML from tags-create-explanation message in SpecialTags.php
authorThis, that and the other <at.light@live.com.au>
Wed, 4 Nov 2015 23:47:23 +0000 (10:47 +1100)
committerTTO <at.light@live.com.au>
Wed, 4 Nov 2015 23:47:49 +0000 (23:47 +0000)
Bug: T111754
Change-Id: I0d1e84fae279845d1fa4f273e7c718010230eb36

includes/specials/SpecialTags.php

index 70eee9f..71f387b 100644 (file)
@@ -100,7 +100,7 @@ class SpecialTags extends SpecialPage {
                        $form = new HTMLForm( $fields, $this->getContext() );
                        $form->setAction( $this->getPageTitle( 'create' )->getLocalURL() );
                        $form->setWrapperLegendMsg( 'tags-create-heading' );
-                       $form->setHeaderText( $this->msg( 'tags-create-explanation' )->plain() );
+                       $form->setHeaderText( $this->msg( 'tags-create-explanation' )->parseAsBlock() );
                        $form->setSubmitCallback( array( $this, 'processCreateTagForm' ) );
                        $form->setSubmitTextMsg( 'tags-create-submit' );
                        $form->show();