r95665 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95664‎ | r95665 | r95666 >
Date:15:00, 29 August 2011
Author:jeroendedauw
Status:resolved (Comments)
Tags:
Comment:
added fix suggested by Benedikt Kämpgen
Modified paths:
  • /trunk/extensions/Spark/Spark.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Spark/Spark.class.php
@@ -33,7 +33,7 @@
3434
3535 public function __construct( array $args, $contents ) {
3636 $this->parameters = $this->getSparkParameters( $args );
37 - $this->contents = $contents;
 37+ $this->contents = $contents;//var_dump($this);exit;
3838 }
3939
4040 /**
@@ -55,6 +55,8 @@
5656 ( is_null( $this->contents ) ? '' : htmlspecialchars( $this->contents ) ) .
5757 '</div>';
5858
 59+ $html = preg_replace( '/[ \t]+(\?)/', '$1', $html );
 60+
5961 return array( $parser->insertStripItem( $html, $parser->mStripState ), 'noparse' => true, 'isHTML' => true );
6062 }
6163 else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r95778followup to r95665jeroendedauw13:37, 30 August 2011

Comments

#Comment by Raymond (talk | contribs)   15:33, 29 August 2011
+		$this->contents = $contents;//var_dump($this);exit;
#Comment by Jeroen De Dauw (talk | contribs)   15:59, 29 August 2011

I know, will be gone in my next commit :)

Status & tagging log