--- marksmarty.module.orig  2007-09-02 23:58:38.000000000 -0400
+++ marksmarty.module       2007-09-03 09:46:24.000000000 -0400
@@ -25,17 +25,19 @@
 }
 
 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>
-      <li>Double returns = Paragraph</li>
-      <li>*Single asterisks* or _single underscores_ = <em>Emphasis</em></li>
-      <li>**Double** or __double__ = <strong>Strong</strong></li>
-      <li>This is [a link](http://the.link.com "The optional title text")</li>
-      </ul>For complete details on the Markdown syntax, see the <a href="http://daringfireball.net/projects/markdown/syntax">Markdown documentation</a>.');
-  }
-  else {
-    $the_output = t('You can use !link to format and style the text.', array('!link' => l(t('Markdown syntax'), 'filter/tips')));
+  if (variable_get("marksmarty_is_markdown_on_$format", 1)) {
+    if ($long) {
+      $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>
+        <li>This is [a link](http://the.link.com "The optional title text")</li>
+        </ul>For complete details on the Markdown syntax, see the <a href="http://daringfireball.net/projects/markdown/syntax">Markdown documentation</a>.');
+    }
+    else {
+      $the_output = t('You can use !link to format and style the text.', array('!link' => l(t('Markdown syntax'), 'filter/tips')));
+    }
   }
 
   return $the_output;
