From 5c94145e3315eb4d7ea1b6ace54393a52d482384 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 6 Jan 2011 03:24:35 +0000 Subject: [PATCH] Fixup fixme on r67819 --- includes/parser/Preprocessor_DOM.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ) . ""; } } -- 2.20.1