--- textile.module	2004-04-23 09:16:29.000000000 -0700
+++ textile.module.old	2004-04-23 09:14:30.000000000 -0700
@@ -116,9 +116,9 @@
       // insert the filter marker
       if ($io_node->textile_version && !$io_node->textile_commented) {
         $io_node->body =
-          "[[textile$io_node->textile_version]]\n" . $io_node->body;
+          "\001textile$io_node->textile_version\001\n" . $io_node->body;
         $io_node->teaser =
-          "[[textile$io_node->textile_version]]\n" . $io_node->teaser;
+          "\001textile$io_node->textile_version\001\n" . $io_node->teaser;
         $io_node->textile_commented = true;
       }
       
@@ -781,14 +781,14 @@
    */
   $the_prefix = substr($io_text, 0, 100);
 
-  if (strpos($the_prefix, "[[textile1]]\n") !== false) {
+  if (strpos($the_prefix, "\001textile1\001\n") !== false) {
     $the_version = 1;
-    $io_text = str_replace("[[textile1]]\n", "", $io_text);
+    $io_text = str_replace("\001textile1\001\n", "", $io_text);
   }
   
-  if (strpos($the_prefix, "[[textile2]]\n") !== false) {
+  if (strpos($the_prefix, "\001textile2\001\n") !== false) {
     $the_version = 2;
-    $io_text = str_replace("[[textile2]]\n", "", $io_text);
+    $io_text = str_replace("\001textile2\001\n", "", $io_text);
   }
   
   return $the_version;
