<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -50,7 +50,7 @@ class syntax_plugin_avatar extends DokuWiki_Syntax_Plugin {
     else                   $align = NULL;
     
     //split into src and size parameter (using the very last questionmark)
-    list($user, $param) = explode('?', $user, 2);
+    list($user, $param) = explode('?', trim($user), 2);
     if (preg_match('/^s/', $param))       $size = 20;
     else if (preg_match('/^m/', $param))  $size = 40;
     else if (preg_match('/^l/', $param))  $size = 80;</diff>
      <filename>syntax.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c8ca2ae302840dfa24683b4e0b0196d4595ea5b7</id>
    </parent>
  </parents>
  <author>
    <name>Michael Klier</name>
    <email>chi@chimeric.de</email>
  </author>
  <url>http://github.com/dokufreaks/plugin-avatar/commit/572bd88c2be0a31883fa03b88d76edecc1072d11</url>
  <id>572bd88c2be0a31883fa03b88d76edecc1072d11</id>
  <committed-date>2008-04-20T10:44:41-07:00</committed-date>
  <authored-date>2008-04-20T10:44:41-07:00</authored-date>
  <message>fixed bug with wrong user when using alignment

darcs-hash:20080420174441-23886-5461b620639778a492a535b933cad169cdc62220.gz</message>
  <tree>c4d3e1c2edab98e0b7ef932eddce7894513691ca</tree>
  <committer>
    <name>Michael Klier</name>
    <email>chi@chimeric.de</email>
  </committer>
</commit>
