Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-10-26 22:08:23


Author: grafik
Date: 2007-10-26 22:08:22 EDT (Fri, 26 Oct 2007)
New Revision: 40492
URL: http://svn.boost.org/trac/boost/changeset/40492

Log:
Put back in the HR split for breif vs. full RSS description.
Text files modified:
   website/public_html/beta/common/code/feed.php | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: website/public_html/beta/common/code/feed.php
==============================================================================
--- website/public_html/beta/common/code/feed.php (original)
+++ website/public_html/beta/common/code/feed.php 2007-10-26 22:08:22 EDT (Fri, 26 Oct 2007)
@@ -76,7 +76,7 @@
                 }
                 if (isset($item['description']))
                 {
- $desc = preg_split('@<hr[ ]?[/]?>@i',$item['description']);
+ $desc = preg_split('@<hr[^/]*[/]>@i',$item['description']);
                     $item['brief'] = $desc[0];
                     if (isset($desc[1]))
                     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk