Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66298 - website/public_html/beta/common/code
From: dnljms_at_[hidden]
Date: 2010-10-31 15:59:35


Author: danieljames
Date: 2010-10-31 15:59:33 EDT (Sun, 31 Oct 2010)
New Revision: 66298
URL: http://svn.boost.org/trac/boost/changeset/66298

Log:
Trim 'title' attributes from divs in boostbook docs.
Text files modified:
   website/public_html/beta/common/code/boost_filter_boost_book_basic.php | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: website/public_html/beta/common/code/boost_filter_boost_book_basic.php
==============================================================================
--- website/public_html/beta/common/code/boost_filter_boost_book_basic.php (original)
+++ website/public_html/beta/common/code/boost_filter_boost_book_basic.php 2010-10-31 15:59:33 EDT (Sun, 31 Oct 2010)
@@ -22,6 +22,7 @@
     echo '<link rel="stylesheet" type="text/css" href="/style-v2/section-basic.css"/>';
     echo substr($text, $pos1, $pos3 - $pos1);
     virtual("/common/heading-doc.html");
- echo substr($text, $pos4);
- //echo prepare_html(substr($text, $pos4));
+
+ $text = preg_replace('@(<div[^>]* )title="[^"]*"([^>]*>)@', '$1$2', substr($text, $pos4));
+ echo prepare_html($text);
 }


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