Browse Source

! remove whitespace at end

Signed-off-by: Spuds <[email protected]>
Spuds 11 years ago
parent
commit
3ba57217ed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Sources/Subs.php

+ 2 - 2
Sources/Subs.php

@@ -4270,11 +4270,11 @@ function replaceEntities__callback($matches)
 	$num = $matches[2][0] === 'x' ? hexdec(substr($matches[2], 1)) : (int) $matches[2];
 	
 	// remove left to right / right to left overrides
-	if ($num === 0x202D || $num === 0x202E) 
+	if ($num === 0x202D || $num === 0x202E)
 		return '';
 	
 	// Quote, Ampersand, Apostrophe, Less/Greater Than get html replaced
-	if (in_array($num, array(0x22, 0x26, 0x27, 0x3C, 0x3E))) 
+	if (in_array($num, array(0x22, 0x26, 0x27, 0x3C, 0x3E)))
 		return '&#' . $num . ';';
 
 	if (empty($context['utf8']))