Use <<<HTML for vim docstring syntax highlighting

This way vim highlights the docstring as HTML instead of plaintext,
which is nice.
This commit is contained in:
Aryeh Gregor 2010-08-29 19:07:06 +00:00
parent 0ba114bff5
commit 4248e05519

View file

@ -1559,13 +1559,13 @@ HTML
protected function showFormBeforeText() {
global $wgOut;
$section = htmlspecialchars( $this->section );
$wgOut->addHTML( <<<INPUTS
$wgOut->addHTML( <<<HTML
<input type='hidden' value="{$section}" name="wpSection" />
<input type='hidden' value="{$this->starttime}" name="wpStarttime" />
<input type='hidden' value="{$this->edittime}" name="wpEdittime" />
<input type='hidden' value="{$this->scrolltop}" name="wpScrolltop" id="wpScrolltop" />
INPUTS
HTML
);
if ( !$this->checkUnicodeCompliantBrowser() )
$wgOut->addHTML(Xml::hidden( 'safemode', '1' ));