Hi,in response to Brion Vibber's reply to my posting to the wrong mailinglist (apologies), I'm attaching here a patch of what I think fixes thebug that five apostrophes produce invalid HTML.This takes care of quite a lot of weird cases and nestings. However, ofcourse I'm aware that it is not perfect. I can construct cases where itwill still fail, but those are cases that I don't think will everactually come up in an encyclopedia article (or if they do, the authorwas feeling fancy and deserves to be shot ;-) ).Here's the patch:--- includes/OutputPage-old.phpSun Jun 29 04:06:12 2003+++ includes/OutputPage.phpSat Jun 28 19:04:42 2003@@ -675,6 +675,15 @@ /* private */ function doQuotes( $text ) {+/* prevent invalid HTML (<strong><em>...</strong></em>) */+$text = preg_replace( "/'''''(.+)'''(.*)''/mU", "<em><strong>\$1</strong>\$2</em>", $text );+$text = preg_replace( "/'''''(.+)''(.+)'''/mU", "<strong><em>\$1</em>\$2</strong>", $text );+$text = preg_replace( "/'''(.*[^'])''([^'].*)'''''/mU", "<strong>\$1<em>\$2</em></strong>", $text );+$text = preg_replace( "/''(.+)'''(.+)'''''/mU", "<em>\$1<strong>\$2</strong></em>", $text );++$text = preg_replace( "/(<strong>.*)'''(.+)'''(.*<\\/strong>)/mU", "\$1</strong>\$2<strong>\$3", $text );+$text = preg_replace( "/(<em>.*)''(.+)''(.*<\\/em>)/mU", "\$1</em>\$2<em>\$3", $text );+ $text = preg_replace( "/'''(.+)'''/mU", "<strong>\$1</strong>", $text ); $text = preg_replace( "/''(.+)''/mU", "<em>\$1</em>", $text ); return $text;How do you usually handle casual programmer contributions? Are theyusually posted to this mailing list? Or do you have a BugZillainstallation somewhere where I should upload this as a patch? Or isthere an actual chance I might get write access to the repository?Greetings,Timwi