<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
 All information is available at
-http://www.chimeric.de/wiki/dokuwiki/plugins/clearfloat.
+http://www.chimeric.de/projects/dokuwiki/plugin/clearfloat.
 
 Author: Michael Klier &lt;chi@chimeric.de&gt;</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@ class syntax_plugin_clearfloat extends DokuWiki_Syntax_Plugin {
         return array(
             'author' =&gt; 'Michael Klier',
             'email'  =&gt; 'chi@chimeric.de',
-            'date'   =&gt; '2006-01-03',
+            'date'   =&gt; '2007-01-08',
             'name'   =&gt; 'Clearfloat',
             'desc'   =&gt; 'Clears previous floats from images.',
             'url'    =&gt; 'http://www.chimeric.de/projects/dokuwiki/plugin/clearfloat'
@@ -37,15 +37,16 @@ class syntax_plugin_clearfloat extends DokuWiki_Syntax_Plugin {
      *
      * Needs to return one of the mode types defined in $PARSER_MODES in parser.php
      */
-    function getType(){ return 'substition'; }
+    function getType()  { return 'substition'; }
     function getPType() { return 'block'; }
-    function getSort() { return 308; }
+    function getSort()  { return 308; }
     
     /**
      * Connect pattern to lexer
      */
     function connectTo($mode) {
         $this-&gt;Lexer-&gt;addSpecialPattern('~~CLEARFLOAT~~',$mode,'plugin_clearfloat');
+        $this-&gt;Lexer-&gt;addSpecialPattern('~~CF~~',$mode,'plugin_clearfloat');
     }
 
     /**
@@ -59,10 +60,8 @@ class syntax_plugin_clearfloat extends DokuWiki_Syntax_Plugin {
      * Handles the actual output creation.
      */
     function render($mode, &amp;$renderer, $data) {
-        global $ID;
-
         if($mode == 'xhtml'){
-            $renderer-&gt;doc .= '&lt;div class=&quot;clearer&quot;&gt;&lt;/div&gt;';
+            $renderer-&gt;doc .= '&lt;div class=&quot;clearer&quot;&gt;&lt;/div&gt;' . DW_LF;
             return true;
         }
         return false;</diff>
      <filename>syntax.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>378943cac25297d77506a5b22618fbd2939765ca</id>
    </parent>
  </parents>
  <author>
    <name>Michael Klier</name>
    <login>chimeric</login>
    <email>chi@chimeric.de</email>
  </author>
  <url>http://github.com/chimeric/dokuwiki-plugin-clearfloat/commit/a8dc4981d2af0713a2f9d589fa8da22b022a068c</url>
  <id>a8dc4981d2af0713a2f9d589fa8da22b022a068c</id>
  <committed-date>2007-01-08T12:52:49-08:00</committed-date>
  <authored-date>2007-01-08T12:52:49-08:00</authored-date>
  <message>introduced optional sytax ~~CF~~

darcs-hash:20070108205249-23886-a84041e94f9453a14e02f1effd2fe6d33d011168.gz</message>
  <tree>f670034ecf8d87c47ae968097d37e38cbc72bfb4</tree>
  <committer>
    <name>Michael Klier</name>
    <login>chimeric</login>
    <email>chi@chimeric.de</email>
  </committer>
</commit>
