Support bold by new markup *bold* and italic by _italic_ as well as
combination _*bold and italic*_

--- phpwiki/lib/transform.php	Thu Jan  4 19:34:15 2001
+++ /data/phpwiki/lib/transform.php	Sat Sep 15 00:52:06 2001
@@ -158,6 +158,15 @@
       $tmpline = preg_replace("|('')(.*?)('')|",
                               "<em>\\2</em>", $tmpline);
 
+      // bold (try not to break bullets)
+      $tmpline = preg_replace("|^(\s*\*[^\*]*)|","!\\1", $tmpline);
+      $tmpline = preg_replace("|([^!])(\*)([^\*]+?)(\*)|",
+                              "\\1<strong>\\3</strong>", $tmpline);
+      $tmpline = preg_replace("|^!(\*+)|","\\1", $tmpline);
+
+      // italics
+      $tmpline = preg_replace("|(_)(.*?)(_)|",
+                              "<em>\\2</em>", $tmpline);
 
       //////////////////////////////////////////////////////////
       // unordered, ordered, and dictionary list  (using TAB)
