From: Sam Reed Date: Thu, 6 Jan 2011 03:24:35 +0000 (+0000) Subject: Fixup fixme on r67819 X-Git-Tag: 1.31.0-rc.0~32773 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=5c94145e3315eb4d7ea1b6ace54393a52d482384;p=lhc%2Fweb%2Fwiklou.git Fixup fixme on r67819 --- diff --git a/includes/parser/Preprocessor_DOM.php b/includes/parser/Preprocessor_DOM.php index 2b635f7c0d..f8e549d75a 100644 --- a/includes/parser/Preprocessor_DOM.php +++ b/includes/parser/Preprocessor_DOM.php @@ -37,15 +37,14 @@ class Preprocessor_DOM implements Preprocessor { function newPartNodeArray( $values ) { //NOTE: DOM manipulation is slower than building & parsing XML! (or so Tim sais) - $xml = ""; - $xml .= ""; + $xml = ""; foreach ( $values as $k => $val ) { if ( is_int( $k ) ) { $xml .= "" . htmlspecialchars( $val ) .""; } else { - $xml .= "" . htmlspecialchars( $k ) . "=" . htmlspecialchars( $val ) . ""; + $xml .= "" . htmlspecialchars( $k ) . "" . htmlspecialchars( $val ) . ""; } }