diff --git a/common/code/boost_archive.php b/common/code/boost_archive.php index 8bb46c4c..c30b26c9 100644 --- a/common/code/boost_archive.php +++ b/common/code/boost_archive.php @@ -492,6 +492,9 @@ HTML; function _content_basic() { + $is_xhtml = preg_match('@]*xhtml@i', $text); + $tag_end = $is_xhtml ? '/>' : '>'; + $text = $this->_content_html_pre(); $text = preg_split('@(|
]*>)@i',$text,-1,PREG_SPLIT_DELIM_CAPTURE); $state = 0; @@ -499,8 +502,8 @@ HTML; print($section); switch($state) { case 0: - print ''; - print ''; + print '