--- marksmarty.module	Sat Oct  7 15:28:17 2006
+++ ../../marksmarty/marksmarty.module	Sat Sep 29 04:49:37 2007
@@ -26,8 +26,8 @@
 
 function marksmarty_filter_tips($delta = 0, $format = -1, $long) {
   if ($long) {
-  	$the_output = t('Quick Tips:<ul>
-  	  <li>Two or more spaces at a line\'s end = Line break</li>
+    $the_output = t('Quick Tips:<ul>
+      <li>Two or more spaces at a line\'s end = Line break</li>
       <li>Double returns = Paragraph</li>
       <li>*Single asterisks* or _single underscores_ = <em>Emphasis</em></li>
       <li>**Double** or __double__ = <strong>Strong</strong></li>
@@ -41,7 +41,7 @@
   return $the_output;
 }
 
-function marksmarty_help($in_section = 'admin/help#marksmarty') {
+function marksmarty_help($path = 'admin/help#marksmarty', $arg) {
   switch ($in_section) {
     case 'admin/settings/modules#description':
       $the_output = t('Allows content to be submitted using Markdown, a simple plain-text syntax that is transformed into valid XHTML, and/or using SmartyPants, a filter for auto-translating plain ASCII characters to Unicode characters.');
@@ -60,8 +60,8 @@
  ********************************************************************/
 
 function _marksmarty_process($text, $format) {
-  require_once(dirname(__FILE__) . '/markdown.php');
-  require_once(dirname(__FILE__) . '/smartypants.php');
+  require_once(dirname(__FILE__) .'/markdown.php');
+  require_once(dirname(__FILE__) .'/smartypants.php');
   if (variable_get("marksmarty_is_markdown_on_$format", 1) == 1) {
     $text = Markdown($text);
   }
@@ -74,8 +74,8 @@
 }
 
 function _marksmarty_settings($format) {
-  require_once(dirname(__FILE__) . '/markdown.php');
-  require_once(dirname(__FILE__) . '/smartypants.php');
+  require_once(dirname(__FILE__) .'/markdown.php');
+  require_once(dirname(__FILE__) .'/smartypants.php');
   $form['markdown_settings'] = array(
     '#type' => 'fieldset',
     '#title' => t('Markdown with SmartyPants'),
@@ -105,10 +105,10 @@
     '#options' => array(0 => t('"--" for em-dashes; no en-dash support'), 1 => t('"---" for em-dashes; "--" for en-dashes'), 2 => t('"--" for em-dashes; "---" for en-dashes')),
   );
 
-  $the_output = '<p>Markdown PHP Version: <a href="http://www.michelf.com/projects/php-markdown/">'.$GLOBALS['MarkdownPHPVersion'].'</a><br />';
-  $the_output .= 'Markdown Syntax Version: '.$GLOBALS['MarkdownSyntaxVersion'].'<br />';
-  $the_output .= 'SmartyPants PHP Version: <a href="http://www.michelf.com/projects/php-smartypants/">'.$GLOBALS['SmartyPantsPHPVersion'].'</a><br />';
-  $the_output .= 'SmartyPants Syntax Version: '.$GLOBALS['SmartyPantsSyntaxVersion'] .'</p>';
+  $the_output = '<p>Markdown PHP Version: <a href="http://www.michelf.com/projects/php-markdown/">'. $GLOBALS['MarkdownPHPVersion'] .'</a><br />';
+  $the_output .= 'Markdown Syntax Version: '. $GLOBALS['MarkdownSyntaxVersion'] .'<br />';
+  $the_output .= 'SmartyPants PHP Version: <a href="http://www.michelf.com/projects/php-smartypants/">'. $GLOBALS['SmartyPantsPHPVersion'] .'</a><br />';
+  $the_output .= 'SmartyPants Syntax Version: '. $GLOBALS['SmartyPantsSyntaxVersion'] .'</p>';
 
   $form['markdown_settings']['markdown_status'] = array(
     '#type' => 'markup',
@@ -117,5 +117,3 @@
 
   return $form;
 }
-
-?>
