--- wordpress-he/wp-includes/functions-formatting.php	2007-01-20 15:23:34.000000000 +0200
+++ mywp/wp-includes/functions-formatting.php	2007-03-24 17:53:11.327362500 +0200
@@ -28,17 +28,23 @@
 
 			$curl = str_replace($cockney, $cockneyreplace, $curl);
 
-			$curl = preg_replace("/'s/", '&#8217;s', $curl);
-			$curl = preg_replace("/'(\d\d(?:&#8217;|')?s)/", "&#8217;$1", $curl); /* WPH - Quotes? */
-			$curl = preg_replace('/(\s|\A|")\'/', '$1&#8216;', $curl);
-			$curl = preg_replace('/(\d+)"/', '$1&#8243;', $curl);
-			$curl = preg_replace("/(\d+)'/", '$1&#8242;', $curl);
-			$curl = preg_replace("/(\S)'([^'\s])/", "$1&#8217;$2", $curl);
-			$curl = preg_replace('/(\s|\A)"(?!\s)/', '$1&#8220;$2', $curl); /* WPH - Quotes? */
-			$curl = preg_replace('/"(\s|\S|\Z)/', '&#8221;$1', $curl);
-			$curl = preg_replace("/'([\s.]|\Z)/", '&#8217;$1', $curl);
+//			$curl = preg_replace("/'s/", '&#8217;s', $curl);
+//			$curl = preg_replace("/'(\d\d(?:&#8217;|')?s)/", "&#8217;$1", $curl); /* WPH - Quotes? */
+//			$curl = preg_replace('/(\s|\A|")\'/', '$1&#8216;', $curl);
+//			$curl = preg_replace('/(\d+)"/', '$1&#8243;', $curl);
+//			$curl = preg_replace("/(\d+)'/", '$1&#8242;', $curl);
+//			$curl = preg_replace("/(\S)'([^'\s])/", "$1&#8217;$2", $curl);
+
+/* This is replaced because `"' symbol is illegal HTML symbol */
+//			$curl = preg_replace('/(\s|\A)"(?!\s)/', '$1&#8220;$2', $curl); /* WPH - Quotes? */
+//			$curl = preg_replace('/"(\s|\S|\Z)/', '&#8221;$1', $curl);
+			$curl = preg_replace('/(\s|\A)"(?!\s)/', '$1&quot;$2', $curl); /* WPH - Quotes? */
+			$curl = preg_replace('/"(\s|\S|\Z)/', '&quot;$1', $curl);
+
+
+//			$curl = preg_replace("/'([\s.]|\Z)/", '&#8217;$1', $curl);
 			$curl = preg_replace("/ \(tm\)/i", ' &#8482;', $curl);
-			$curl = str_replace("''", '&#8221;', $curl);
+//			$curl = str_replace("''", '&#8221;', $curl);
 			
 			$curl = preg_replace('/(\d+)x(\d+)/', "$1&#215;$2", $curl);
 
