$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r59897 - website/public_html/beta/common/code
From: daniel_james_at_[hidden]
Date: 2010-02-25 03:55:44
Author: danieljames
Date: 2010-02-25 03:55:43 EST (Thu, 25 Feb 2010)
New Revision: 59897
URL: http://svn.boost.org/trac/boost/changeset/59897
Log:
Remove leading horizonal rule left after the banner was removed.
Text files modified: 
   website/public_html/beta/common/code/boost_archive.php |    11 +++++++----                             
   1 files changed, 7 insertions(+), 4 deletions(-)
Modified: website/public_html/beta/common/code/boost_archive.php
==============================================================================
--- website/public_html/beta/common/code/boost_archive.php	(original)
+++ website/public_html/beta/common/code/boost_archive.php	2010-02-25 03:55:43 EST (Thu, 25 Feb 2010)
@@ -523,10 +523,13 @@
         if(strpos($table_contents, 'boost.png') !== FALSE) {
             preg_match('@<td[^<>]*>?([^<]*<(h[12]|p).*?)</td>@is', $table_contents,
                 $table_contents_header, PREG_OFFSET_CAPTURE);
-            $text =
-                substr($text, 0, $table_begin[0][1]).
-                (isset($table_contents_header[1]) ? $table_contents_header[1][0] : '').
-                substr($text, $table_end[0][1] + strlen($table_end[0][0]));
+            
+            $head = substr($text, 0, $table_begin[0][1]);
+            $header = isset($table_contents_header[1]) ? $table_contents_header[1][0] : '';
+            $tail = substr($text, $table_end[0][1] + strlen($table_end[0][0]));
+            $tail = preg_replace('@^\s*<hr\s*/?>\s*@', '', $tail);
+                
+            $text = $head.$header.$tail;
         }
     }
     return $text;