<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,7 +23,7 @@ class action_plugin_feedmod extends DokuWiki_Action_Plugin {
         return array(
                 'author' =&gt; 'Gina H&#228;u&#223;ge, Michael Klier',
                 'email'  =&gt; 'dokuwiki@chimeric.de',
-                'date'   =&gt; '2008-04-20',
+                'date'   =&gt; '2008-05-21',
                 'name'   =&gt; 'feedmod',
                 'desc'   =&gt; 'Modifies feed items for nicer full html feeds.',
                 'url'    =&gt; 'http://wiki.splitbrain.org/plugin:feedmod'
@@ -96,7 +96,7 @@ class action_plugin_feedmod extends DokuWiki_Action_Plugin {
                 $firstheading = $headingIns[1][0];
                 
                 // strip first heading and replace item title
-                $event-&gt;data['item']-&gt;description = preg_replace('#[^\n]*' . preg_quote(hsc($firstheading), '#') . '.*\n#', '', $event-&gt;data['item']-&gt;description);
+                $event-&gt;data['item']-&gt;description = preg_replace('#[^\n]*?&gt;\s*?' . preg_quote(hsc($firstheading), '#') . '\s*?&lt;.*\n#', '', $event-&gt;data['item']-&gt;description, 1);
                 $event-&gt;data['item']-&gt;title = $firstheading;
 
                 // check for discussion file</diff>
      <filename>action.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e56fd5b888bba698572ae6ebf6f6b136ce444d1b</id>
    </parent>
  </parents>
  <author>
    <name>Michael Klier</name>
    <email>chi@chimeric.de</email>
  </author>
  <url>http://github.com/chimeric/dokuwiki-plugin-feedmod/commit/5c1ddb4c352d253352bba9333763511bee21c0ed</url>
  <id>5c1ddb4c352d253352bba9333763511bee21c0ed</id>
  <committed-date>2008-05-21T13:42:31-07:00</committed-date>
  <authored-date>2008-05-21T13:42:31-07:00</authored-date>
  <message>fixed bad regex to strip first headline

darcs-hash:20080521204231-23886-a1c9d989c868b577f7b772305986417e0597718d.gz</message>
  <tree>a2801d71e68239ee2b31b52e0bb4b2115aa37913</tree>
  <committer>
    <name>Michael Klier</name>
    <email>chi@chimeric.de</email>
  </committer>
</commit>
