|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53726 - website/public_html/beta/common/code
From: daniel_james_at_[hidden]
Date: 2009-06-07 12:38:23
Author: danieljames
Date: 2009-06-07 12:38:22 EDT (Sun, 07 Jun 2009)
New Revision: 53726
URL: http://svn.boost.org/trac/boost/changeset/53726
Log:
Fix error in last commit.
Text files modified:
website/public_html/beta/common/code/boost_archive.php | 3 ++-
1 files changed, 2 insertions(+), 1 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 2009-06-07 12:38:22 EDT (Sun, 07 Jun 2009)
@@ -492,10 +492,11 @@
function _content_basic()
{
+ $text = $this->_content_html_pre();
+
$is_xhtml = preg_match('@<!DOCTYPE[^>]*xhtml_at_i', $text);
$tag_end = $is_xhtml ? '/>' : '>';
- $text = $this->_content_html_pre();
$text = preg_split('@(</head>|<body[^>]*>)@i',$text,-1,PREG_SPLIT_DELIM_CAPTURE);
$state = 0;
foreach($text as $section) {
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