[wp-cvs] wordpress/wp-includes functions-formatting.php,1.30,1.31

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon May 24 23:33:40 CDT 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7036/wp-includes

Modified Files:
	functions-formatting.php 
Log Message:
Fix for unencoded ampersands. When did we lose this?

Index: functions-formatting.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** functions-formatting.php	22 May 2004 14:34:09 -0000	1.30
--- functions-formatting.php	25 May 2004 04:33:37 -0000	1.31
***************
*** 44,47 ****
--- 44,48 ----
  			$next = true;
  		}
+ 		$curl = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $curl);
  		$output .= $curl;
  	}
***************
*** 414,416 ****
  }
  
! ?>
--- 415,417 ----
  }
  
! ?>
\ No newline at end of file




More information about the cvs mailing list